partial summary and more details re: notrouter and multi-home

From: Adam Levin <levins_at_westnet.com>
Date: Thu Apr 15 2004 - 12:31:35 EDT
Thanks to:
Darren Dunham <ddunham@taos.com>
Crist Clark <crist.clark@globalstar.com>
Brent Mcdaniel <Brent.McDaniel@TheICE.com>
Charles Rawls <crawls@tgix.com>
bob.cummings <bob.cummings@epl.net>
Terry Gardner <boosdad1959@yahoo.com>
krenzischek@Encompasserve.org
cprice@its.to

First, /etc/notrouter has nothing to do with this.  That file causes other
machines to be unable to route packets through my multi-homed machine, but
that's not the problem.

More info:

My ifconfig looks like this:
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.20.21.72 netmask ffffff00 broadcast 10.20.21.255
        ether 8:0:20:a6:f2:f8
hme0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.20.21.92 netmask ffffff00 broadcast 10.20.21.255
hme1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 10.20.20.72 netmask ffffff00 broadcast 10.20.20.255
        ether 8:0:20:ea:9b:43

hme0 and hme1 are on two physically different networks, both handled by a
core Cisco switch.  10.20.21 and 10.20.20 are two different VLANs.

tcpdump reports that traffic is coming in from one server, 10.20.20.100,
via the hme0 interface (which is correct), but the return traffic is going
out the hme1 interface, which is what I want to stop.

The hme1 interface actually changes depending on which VLAN I need to
jumpstart machines on -- we have half a dozen VLANs up there, and the idea
was to move that port to whichever VLAN needed jumpstarts (and also to
change the IP address appropriately, of course).

/etc/netmasks is set correctly, with each subnet listing 255.255.255.0.

Also, local-mac-address is set on, as you can see from the ifconfig
output.

So, the question really is: is there any way to force the multi-homed
machine to respond via the same interface it received the traffic on?

-Adam
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Apr 15 12:31:25 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:34 EST