I'm working on and experimenting with a new setup with home network and also changing over from dsl to cable. Right now I have both.
What I'm after right now is a way to set up networking on both outgoing networks from the same machine. And I have some thing in place that does most of it. M2 in the diagram is linked by ethnet to 1 different Netgear routers. One is the gate way to dsl modem the other is gw to an openbsd router and then to the cable gateway. ISP=>gw internet | ISPgw cable modem | | DSL MOdem NETGEAR router (192.168.0.20 gw) | | | | 192.168.0.9 (192.168.0.2)NETG router OBSD MACHINE (ipforwarding | |<= 192.168.1.9 | | | <=192.168.0.8 | M2 <= 2nics | 192.168.1.7=> | | |--[netgear hub]-| | | more machines There are more machines at the level of M2 all on a Netgear hub. But not important to my mission. I have both nics working on M2 and can run with the dsl as main route out. Routing table looks like: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth1 In that scheme 192.168.0.1 is the address of NEGEAR router leading to dsl modem And 192.168.0.8 (shown as network 192.168.0.0 on eth1) above. Any attempts to connect out automatically go over: 192.168.0.8 => 192.168.0.1 => DSL MODEM => Now if I bring up eth0 192.168.1.7 on M2 Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth1 I can ping stuff like M1 in diagram netwrork 192.168.1/24 but if I set a static route to connect to internet out that door it seem traffic that would have gone out the 192.168.0.1 will now go out eth0 (192.168.1.7) Like it has taken over as default route. If I add a route to the other internet gw (And I'm not sure of what all I can do with route) route add 192.168.0.20 gw 192.168.1.9 Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.0.20 192.168.1.9 255.255.255.255 UGH 0 0 0 eth0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth1 I can now ping 192.168.0.20 from M2 Or set routes to internet hosts: route add -host some.inet.com gw 192.168.0.20 And I can get there over the correct route. Lots of route adding if you intend to do much. I wondered if there is someway to have on xterm that has the secondary environment for a network setup. While other xterms use the primary or default setup. Anyone here that has done something like that? -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list