Subject: Re: Configuring two network cards in SPARCstation 4
To: Alex Buell <alex.buell@munted.org.uk>
From: None <mcmahill@mtl.mit.edu>
List: port-sparc
Date: 06/01/2002 07:35:44
On Sat, 1 Jun 2002, Alex Buell wrote:
> On Sat, 1 Jun 2002, Brian A. Seklecki wrote:
>
> > AB> Gah.. I've just spent the last few hours trying to set up a SPARCstation
> > AB> with an extra network card. Apaprently with local-mac-address? set to true
> > AB> both of them still uses the same MAC addresses.
> >
> > ...it shouldn't matter (unless your ISP is doing something ghetto) in a
> > typical home-lan situation where you're just going to IPNAT a /24 of
> > private space to a /32 of public space using ipf(8). You don't even need
> > two NIC's to do a firewall. That's a common misconception, it's just that
> > all the examples on the web involve two NICs. Physical networks are
> > completely unrelated to logical addressing.
> >
> > ...let me know if you need example configs.
>
> Yes, I've just realised that having identical MAC addresses doesn't matter
> if both cards are on separate subnets.
>
> DCHP gets and sets the IP addresses, but still struggling to get routing
> to work properly...
on your local machines, put the IP address of the LAN side network card of
the sparc in /etc/mygate.
On the sparc make sure you have
options GATEWAY # packet forwarding
in your kernel config file.
-dan