[Fwd: Re: Newbie Needs help w/ Local eth network]
Thanks for the help
Trying to get box1 networked to box2 via ethernet
I am using a crossover cable
>From Box2 I can ping to 192.168.1.1 (address of eth1 on box1)
I can ssh to 192.168.1.1 (address of eth1 on box 1)
can not ping sites like www.debian.org etc....
Here is what I have so far.
Box 1 Running 2.4.17 kernel
(contents of /etc/network/interfaces )
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian
installation# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
address 172.16.100.50
netmask 255.255.0.0
network 172.16.0.0
broadcast 172.16.255.255
gateway 172.16.1.5
auto eth1
iface eth1 inet static
address 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
Output of route command
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface 192.168.1.0 * 255.255.255.0 U 0 0
0 eth1 localnet * 255.255.0.0 U 0 0
0 eth0 default 172.16.1.5 0.0.0.0 UG 0
0 0 eth0
Box 2 running 2.4.17 kernel
contents of /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian
installation# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
up route add default gw 192.168.1.1
output of route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface 192.168.1.0 * 255.255.255.0 U 0 0
0 eth0
Reply to: