You are not logged in.
Pages: 1
Hi,
Im having some problems on a fresh install of arch with connecting to the internet, I connect to the interent through a router (192.168.1.1) and im pretty sure i have configured everything correctly.
Network section of /etc/rc.conf:
lo="lo 127.0.0.1"
eth0="eth0 192.168.1.20 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(lo eth0)
gateway="default gw 192.168.1.1"
ROUTES=(!gateway)resolv.conf:
nameserver (ISP_DNS_IP_HERE_PRIMARY)
nameserver (ISP_DNS_IP_HERE_SECONDARY)
nameserver 192.168.1.1With the above config i can ping machines on my LAN fine, but i cant connect to the internet,
]# ping google.com
connect: Network is unreachableHowever, if i switch to using dhcp everything works fine, and dhcp configures resolv.conf the same as it is with my static ip settings.
Any ideas on how i can get it working using 192.168.1.20 as the IP instead of using dhcp?
Thanks,
Jack
Offline
Look at ROUTES. "!" denotes that gateway route is _disabled_.
Last edited by lucke (2007-09-02 15:34:35)
Offline
Thanks, that fixed it. Knew it was a silly mistake ![]()
Offline
Pages: 1