networking problem
hello group,
i have two nic's in one debian computer,
and i want to reach both networks over a router and from the subnet.
the first nic has the 192.168.4.194 and the second 192.168.2.194.
my router has in the first network 192.168.2.1 and in the second
192.168.4.1.
my config is
iface eth0 inet static
address 192.168.2.194
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
iface eth1 inet static
address 192.168.4.194
netmask 255.255.255.0
network 192.168.4.0
broadcast 192.168.4.255
gateway 192.168.4.1
up route add -net 192.168.2.0 netmask 255.255.255.0 gw \ 192.168.4.1 dev
eth1
down route del -net 192.168.2.0 netmask 255.255.255.0 gw \ 192.168.4.1
dev eth1
up route add -net 192.168.4.0 netmask 255.255.255.0 gw \ 192.168.2.1 dev
eth0
down route del -net 192.168.4.0 netmask 255.255.255.0 gw \ 192.168.2.1
dev eth0
but i can only reach 192.168.4.194 from the subnet 192.168.2.0/24
but from the network 192.168.4.0/24 can i reach the 192.168.4.194 but
not the 192.168.2.194.
the nic has no problem i see that packet comming to the nic with ngrep .
im using the stabel version 2.2.
and i have one 3com and a intel nic in this computer.
drivers are
intel =eepro100
3com =3c59x
can anyone help me or explain me that?
cu thomas.
Reply to: