On Sun, 29 Aug 2004, Tom Conway wrote:
The issue is definetly network, my server has 2 cards,
192.168.0.15
192.168.0.20 (currently no cable connected)
IP ROUTE
192.168.0.0/24 dev eth1 scope link
192.168.0.0/24 dev eth1 proto kernel scope link src 192.168.0.20
169.254.0.0/16 dev eth1 scope link
127.0.0.0/8 dev lo scope link
default via 192.168.0.1 dev eth1
^^^^
There is at least part of your problem. eth1 is the interface you said you
do not have a cable connected to. Try doing ifdown eth0, ifdown eth1, and
then do an ifup eth0. Then see what interface your default route is through.
It should then be pointed at eth0.
Question, why do you have 2 interfaces on the same network up at the same time?
If you are planning to turn thei into a firewall then the addresses for each
interface should be on 2 different networks.
IP ADDRESS
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:50:8b:d6:33:89 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.15/24 brd 192.168.0.255 scope global eth0
inet6 fe80::250:8bff:fed6:3389/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:50:8b:ae:f5:f0 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.20/24 brd 192.168.0.255 scope global eth1
^^^^^^^^^^^^^^^
You said there is no cable on this interface.
inet6 fe80::250:8bff:feae:f5f0/64 scope link
valid_lft forever preferred_lft forever
4: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
HTH,
Tom