routing question for second NIC
Posted on 2006-10-31
I accepted the answer below prematurely ... it appeared to work when on the network (I can ping 188.8.131.52) but cannot reach it from the outside world when I got home last night ...
Anyway, in essence, my question is now this: I can't get reach the second NIC when it's defined as 66.162.xxx.248 .... I've made the gateway suggestion below, but that didn't help ... is it a routing issue? If so, how do I resolve it?
Thanks in advance.
HERE'S THE ORIGINAL QUESTION/ANSWER:
When I Debian Linux, it gave me an option of eth0 or eth1, so I know it could see both NICs ... I chose to use eth0 for my internal network, using 192.168.100.43 ...now need to use the second NIC for an external IP of 66.162.xxx.248 .... I've modified /etc/network/interfaces as shown below, but of course, it still doesn't work ... what else do I need to do?
Thanks in advance for the help.
iface lo inet loopback
# The primary network interface
iface eth0 inet static
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 184.108.40.206 220.127.116.11
iface eth1 inet static
Send to a Friend Printer Friendly
Accepted Answer from pablouruguay
Date: 10/30/2006 01:21PM PST
you need the gateway
gateway 66.162.xxx.1 for example
and dns if you want.