[Sunhelp] HELP! multiple ethernet interfaces and subnets

Bill Bradford mrbill at mrbill.net
Thu Dec 16 17:29:02 CST 1999


Okay, I've got a ultra1, with two 100bt cards (a hme0 and a be0).  I'm
trying to configure it this way:

primary ethernet:
hme0: 207.200.6.19/28 (netmask 255.255.255.240)
      default gateway should be .18

be0:  207.200.6.82/28 (netmask 255.255.255.240)

/etc/netmasks looks like: 
207.200.6.0	255.255.255.240
207.200.6.16	255.255.255.240
207.200.6.80	255.255.255.240

/etc/hosts:
207.200.6.19	webshield
207.200.6.82	webshield-dmz

/etc/hostname.hme0:
webshield

/etc/hostname.be0:
webshield-dmz

/etc/gateways:
net 0.0.0.0 gateway 207.200.6.18 metric 1 passive

However, when it reboots, the system correctly sets the IP address for hme0 to
be .19, but then I cant ping .18 (the router), even if I "ifconfig <xx0> down"
all the other ethernet interfaces on the box.  Also, when the system boots,
I get a error "SCIO<something>: Cannot assign requested address" and both 
be0 and le0 get assigned 0.0.0.0 as their ethernet address.

Any suggestions?  I'm tearing my hair out here and HAVE to have this working
by tonight.

Here's basically what I'm doing; the ultra1 is acting as a virus scanning 
filter for traffic that goes to a mail server.  Here's a diagram:

+-------------------------+
| router 207.200.6.18     |  <----+
+-------------------------+       |
       |                          | 207.200.6.16/28
       | 100baseT                 |  subnet
+-------------------------+       |
| hme0   207.200.6.19     |  <----+
+-------------------------+
  | Ultra 1/170    |
  |  with filter   |
  |  software      |
+-------------------------+       
|  be0   207.200.6.82     |  <----+
+-------------------------+       |
       | 100bt                    | 207.200.6.80/28
       | crossover cable          |  subnet
+-------------------------+       |
| mailserver 207.200.6.83 |  <----+
+-------------------------+       

I'm setting it up so that we can put a route in the router, 
"to get to 207.200.6.80 subnet, go through 207.200.6.19" - this is so that
all mail and traffic to the mail server gets transparently scanned by the
Ultra1 acting as a router.

Any suggestions?  I know I've GOTTA be missing something simple.. this is on
solaris 2.6 5/98

Bill

-- 
Bill Bradford   *   mrbill at mrbill.net    /   http://www.mrbill.net
                    mrbill at sunhelp.org   /   http://www.sunhelp.org
---------------------------------------------------------------------
"Fear leads to anger. Anger leads to hate. Hate leads to using 
Windows NT for mission-critical applications."
     -- What Yoda *meant* to say 






More information about the SunHELP mailing list