Hi!, I''m getting nuts with this so I really need your help...
I have a network in the 192.168.100.0/24 class C with the gw in
192.168.100.1, all the company works great with that scenario but now
we need to add more class C networks, now this is what I have:
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:08:a1:53:6d:51 brd ff:ff:ff:ff:ff:ff
inet 192.168.100.1/24 brd 192.168.100.255 scope global eth0
inet 192.168.2.1/24 brd 192.168.2.255 scope global eth0
0: from all lookup local
32763: from 192.168.100.0/24 to 192.168.2.0/24 lookup Monitors2
32764: from 192.168.2.0/24 to 192.168.100.0/24 lookup Monitors
32765: from xxx.xxx.xxx.xxx lookup ISP
32766: from all lookup main
32767: from all lookup 253
Monitors Table:
default via 192.168.100.1 dev eth0
Monitors2 Table:
default via 192.168.2.1 dev eth0
Main Table:
192.168.100.0/24 dev eth0 scope link
192.168.2.0/24 dev eth0 proto kernel scope link
xxx.xxx.xxx.xxx/24 dev eth2 scope link
127.0.0.0/8 dev lo scope link
default via xxx.xxx.xxx.xxx dev eth2
The only thing that I want is that if a packet comming from the
192.168.2.0/24 is going to some host in the 192.168.100.0/24 net, the
kerenl route those packets to 192.168.100.1 or in the other way, now,
I don''t know what I''m doing wrong but that doesn''t
work for me, the
packets got lost somewhere, I''m a little lost with this so please can
anyone give me a hint?
Thanks
--
Nicolas A. Salvo
Capital Federal
Buenos Aires - Argentina