Re: Neue Ethernet Card und keine Verbindung
Am Samstag, 29. Januar 2011 schrieb staatl. beeid. ZT Arch. Dipl. Ing.
TU-Wien Liane Siebert:
> Am Friday 28 January 2011 21:02:15 schrieb Siegfrid Brandstätter:
> > Hallo Liane,
> > Am Freitag, 28. Januar 2011 schrieb staatl. beeid. ZT Arch. Dipl.
> > Ing.
> >
> > TU-Wien Liane Siebert:
> > > Am Friday 28 January 2011 01:08:22 schrieb Siegfrid Brandstätter:
> > >
> > > Ifconfig -a auch nicht?
> > >
> > > Schon gesehen, alles läuft :-)
> > > Für manche Krückenprogramme wie wireshark oder etherape sollte
> > > man noch /etc.network/interfaces umbaun, weil die, fast nicht
> > > änderbar, immer zuerst eth0 wollen :-)
> >
> > Gut, aber wie baut man das um das beides geht, die Karte und auch
> > die Krücken?
> >
> > So schaut`s aus bei mir derzeit:
> >
> >
> > # This file describes the network interfaces available on your
> > system # and how to activate them. For more information, see
> > interfaces(5).
> >
> > # The loopback network interface
> > auto lo
> > iface lo inet loopback
> >
> > # The primary network interface
> > allow-hotplug eth1
> > iface eth1 inet dhcp
> > address 192.168.1.100
> > netmask 255.255.255.0
> > gateway 192.168.1.1
> > auto eth1
> >
> > Sigi
>
> allow-hotplug eth0
>
> > iface eth1 inet dhcp
>
> iface eth0 inet static
> # weil dann braucht man ja kein dhcp!
>
> > address 192.168.1.100
>
> address 192.168.1.100
> netmask 255.255.255.0
> gateway 192.168.1.1
>
> #auch unnötig IMHO
>
> > #auto eth1
>
> Manchmal ist reboot nötig, wenn der Kernel das sicher mitbekommen
> soll, Debianeigenart ...
>
> route -n kontrollieren
Vor dem ändern:
# route -n
Kernel-IP-Routentabelle
Ziel Router Genmask Flags Metric Ref Use
Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0
eth1
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0
eth1
Nach dem ändern auf diese Werte:
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
gateway 192.168.1.1
#auto eth1
# route -n
Kernel-IP-Routentabelle
Ziel Router Genmask Flags Metric Ref Use
Iface
und keine Verbindung. Was habe ich falsch verstanden?
--
Einen Schönen Gruß,
Sigi
Reply to: