Community Forum

kris
kris
Offline
Resolved
0 votes
hmm, need a little help. ok i have set up dhcp be4 i just cant fine what im doing wrong. i got the computers pulling ip but can get online. i cant see what im missing i been up too long today, playing around. There Is 2 nic cards eth0 lan and eth1 wan

here is the set up
dhcp

Network Interface eth0
Network 192.168.1.0
Lease Time 12 hours
Gateway 192.168.1.132
IP Range Start 192.168.1.100
IP Range End 192.168.1.254
DNS #1 192.168.1.132
DNS #2 8.8.8.8

ok now the DNS

DNS Server

DNS Server
Add
IP Address
Hostname

8.8.8.8 8.8.8.8
Edit

Delete
50.192.9.162 192.168.1.132
Edit

Delete
192.168.1.132 forgettherestinc.lan
Edit

Delete
192.168.1.140 chcsystem.forgettherestinc.com
Sunday, November 18 2012, 05:24 AM
Share this post:
Responses (7)
  • Accepted Answer

    kris
    kris
    Offline
    Tuesday, November 20 2012, 06:18 PM - #Permalink
    Resolved
    0 votes
    Okay I got it working this morning domain was set worng. It was domain.lan not com. Now i just to to find out y my pptp is not working. Thanks tim and nick. I went back a read some old post you guys have done.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, November 20 2012, 01:22 PM - #Permalink
    Resolved
    0 votes
    Hi Kris, can you clarify your network setup?

    As Nick pointed out - if ClearOS is your gateway device, then your gateway IP address should match 192.168.1.60 (the Local LAN interface) NOT 192.168.1.132 in your first post.

    This would cause all you local machines to have the wrong gateway IP, and not have any internet access. As Nick requested the output of 'ipconfig /all' from your Windows machine would clarify this issue.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, November 18 2012, 04:45 PM - #Permalink
    Resolved
    0 votes
    Results of "ipconfig /all"? When you can ping, can you ping by both URL and IP address?

    [edit]
    Also check this out.
    [/edit]
    The reply is currently minimized Show
  • Accepted Answer

    kris
    kris
    Offline
    Sunday, November 18 2012, 04:28 PM - #Permalink
    Resolved
    0 votes
    can ping out from the sever. cant ping out from the windoz, linux or mac.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, November 18 2012, 03:39 PM - #Permalink
    Resolved
    0 votes
    Have you changed your ClearOS LAN IP? It is now indicating 192.168.1.60 but DHCP is configured to give out 192.168.1.132.

    On your client, assuming Windoze, in a command prompt can you to:
    ipconfig /release
    ipconfig /renew
    ipconfig /all
    And give the results of the last command. Also from ClearOS and from your client, please try pinging google.com and 8.8.8.8 and let me know which work and which fail.
    The reply is currently minimized Show
  • Accepted Answer

    kris
    kris
    Offline
    Sunday, November 18 2012, 03:11 PM - #Permalink
    Resolved
    0 votes
    nick here you go

    [root@chcserver ~]# ifconfig | grep Eth -A 1
    eth0 Link encap:Ethernet HWaddr 00:13:72:F7:6C:C5
    inet addr:192.168.1.60 Bcast:192.168.1.255 Mask:255.255.255.0
    --
    eth1 Link encap:Ethernet HWaddr 00:13:72:F7:6C:C6
    inet addr:50.192.9.162 Bcast:50.192.9.167 Mask:255.255.255.248
    [root@chcserver ~]# cat /etc/clearos/network.conf
    # Network mode
    MODE="standalone"

    # Network interface roles
    EXTIF="eth1"
    LANIF="eth0"
    DMZIF=""
    HOTIF=""

    # Domain and Internet Hostname
    DEFAULT_DOMAIN="forgettherestinc.com"
    INTERNET_HOSTNAME="chcserver.forgettherestinc.com"

    # Extra LANS
    EXTRALANS=""
    [root@chcserver ~]#
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, November 18 2012, 08:58 AM - #Permalink
    Resolved
    0 votes
    Just for safety, can i suggest you change the ClearOS LAN to something outside the DHCP range - often a .1 or .254 address is used.
    What is the output of
    ifconfig | grep Eth -A 1
    cat /etc/clearos/network.conf
    The reply is currently minimized Show
Your Reply