ip alias +routing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
I would like to route two networks using one network -card. I think i
can set to diferent ip address for that card using alias. But how can i
enroute the traficc from one network to another.

suppose network1 is 10.0.0.0 and network2 is 192.168.0.0.Could it be
like this?:

route add -net 10.0.0.0 netmask 255.0.0.0 gw 192.168.0.x
route add -net 192.168.0.0. netmask 255.255.255.0 gw 10.0.0.x
but both are working over eth0 and also there is a default gateway to
Internet (192.168.0.254).

Please, open my eyes!!!
I have a shutdown on my brain ;)
Thank you all
Chema


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux