Re: [Debian]:Mehrere Netzwerkkarten
On Thu, Jul 29, 1999 at 07:42:01AM +0200, haape@a3m.com wrote:
> weiss jemand den sauberen "debian-Weg" für die Knofiguratine mehrerer
> Netzwerkkarten in einem Rechner?
den gibts (noch) nicht. Saubere Möglichkeit (aber du mußt selbst dran
denken, daß da zwei Netzdevices hängen...):
So hab ichs in meiner ehemaligen schule eingerichtet (zwei Netzwerke):
/etc/init.d/network
#!/bin/sh
#
# Network device setup.
#
# Local net.
ifconfig lo 127.0.0.1
route add -net 127.0.0.0 netmask 255.255.255.255 dev lo
# 100 MBit net for workstations.
ifconfig eth0 192.168.1.100 netmask 255.255.255.0 broadcast 192.168.1.255
route add -net 192.168.1.0 dev eth0
# 10 MBit net for surfing terminals.
ifconfig eth1 192.168.2.100 netmask 255.255.255.0 broadcast 192.168.2.255
route add -net 192.168.2.0 dev eth1
#
# no default route, that will be set via isdnutils.
#
--
_ciao, Jens_______________________________ http://www.pinguin.conetix.de
Anyone comfortable with using Linux shall use it. | "I'm afraid Linux has a
Anyone wanting to tell other people what they | year-429496 problem"
should be using can go work for Microsoft. | -- Kernel mailing list
------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie
bitte eine E-Mail an majordomo@jfl.de die im Body
"unsubscribe debian-user-de <deine emailadresse>"
enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@jfl.de
------------------------------------------------
Anzahl der eingetragenen Mitglieder: 723
Reply to: