Re: Eth*'s and they corresponding hardwares
You have to use nameif (man 8 nameif). With nameif you can establish an
association between the MAC address & the name of the interface. Btw, you could
also use fancy names, sometimes is better to write
"iptables -I INPUT -i dmz -p tcp --dport 80 -j ACCEPT" than
"iptables -I INPUT -i eth2 -p tcp --dport 80 -j ACCEPT"
Good luck!
Mensaje citado por MB <sparkynine@yahoo.com>:
> How does that work when he/she has got 3 of the same model nic?
> Somehow you should be able to reference each card (MAC) with a
> specific setup. With pcmcia cards you can specify a config for each
> MAC address.
>
> Much like my wireless setup:
>
> # Lucent Wavelan IEEE (+ Orinoco, RoamAbout and ELSA)
> # Note : wvlan_cs driver only, and version 1.0.4+ for encryption
> support
> *,*,*,00:60:1D:*|*,*,*,00:02:2D:*)
> INFO="Orinoco Settings"
> NICKNAME="laptop01"
> ESSID="home_AP"
> MODE="Managed"
> RATE="auto"
> ;;
>
> Mark
>
>
> --- Robert Waldner <rw@coretec.at> wrote:
> >
> > On Tue, 04 May 2004 04:49:39 -0300, UnKnown writes:
> > >But I was wondering if there is a way to bind a sertein ethernet
> > "hardware"
> > >to an specific eth device.
> >
> > I just compile the drivers as modules and load them in the desired
> > order. If you do it otherwise, you're always at the mercy of the
> > BIOS
> > anyway.
> >
> > cheers,
> > &rw
> > --
> > / Ing. Robert Waldner | Security Engineer | CoreTec IT-Security
> > <rw@coretec.at> | T +43 1 503 72 73 | F +43 1 503 72 73 x99 /
> >
> >
> >
>
> > ATTACHMENT part 2 application/pgp-signature
>
>
>
> --
> To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
Reply to: