On Sat, Jan 18, 2003 at 04:10:50PM -0500, Kent Borg wrote: > I am wondering what it takes to have a Red Hat (7.0) machine on two > different internet connections at once.
And here I am responding to my own post with a partial answer. It appears that though the kernel naturally wants to send response packets back from whence they came, there had better be a "route" thataway before it can. I did this: [root@borg root]# route add default gw 192.168.1.1 [root@borg root]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.100.0 * 255.255.255.0 U 0 0 0 eth0 192.168.1.0 * 255.255.255.0 U 0 0 0 eth1 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default 192.168.1.1 0.0.0.0 UG 0 0 0 eth1 default 192.168.100.1 0.0.0.0 UG 0 0 0 eth0 [root@borg root]# It bothered me to have two default routes, but now it seems to work. I can ssh in via my new DSL link, and I even did a manual e-mail via a telnet to port 25. So here are my next questions: 1. Is this right, or am I getting by on a technicality and things are actually quite hosed and just don't know it yet? ("Having TWO ~defaults~? Yeah, right!") 2. What is the right way to get that route added automagically next boot? It seems it should be part of the eth1 config, but where? There seem to be quite a few ifcfg-eth1 files in /etc/sysconfig*, and I think they do all have "GATEWAY=192.168.1.1"s in them. Certainly I could put my "route add default gw 192.168.1.1" someplace like rc.local, but that seems really wrong. What is the right way? Thanks, -kb, the Kent who is still learning, about to start looking at Mara DNS to replace the ornery djbdns before he starts getting too fancy with DNS. * As in three. What are they all for? /etc/sysconfig/network-scripts/ifcfg-eth1 /etc/sysconfig/networking/devices/ifcfg-eth1 /etc/sysconfig/networking/profiles/default/ifcfg-eth1 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list