Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Netzwerkkarten Aliase
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
DrunkenChicken
n00b
n00b


Joined: 06 Oct 2004
Posts: 2

PostPosted: Wed Oct 06, 2004 9:38 pm    Post subject: Netzwerkkarten Aliase Reply with quote

Hallo,

wie aktiviere ich unter Gentoo Aliase, ohne dass die falsche Netzwerkeinstellungen haben?

Debian:
Code:
iface eth0 inet static
address xxx.xxx.xxx.xxx
netmask xxx.xxx.xxx.xxx
brodcast xxx.xxx.xxx.xxx
gateway xxx.xxx.xxx.xxx

iface eth0:0 inet static
address xxx.xxx.xxx.xxx
netmask xxx.xxx.xxx.xxx
brodcast xxx.xxx.xxx.xxx
gateway xxx.xxx.xxx.xxx

Gentoo:
Code:

iface_eth0="xxx.xxx.xxx.xxx broadcast xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx"

alias_eth0="xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx"


Bei Debian erhalte ich nachher eth0, eth0:0, eth0:1 usw. alle haben die korrekten Werte (Netzwerkmaske, usw.).
Bei Gentoo erhalte ich eth0, eth0:1, eth0:2 usw.
ABER, broadcast und netmask stimmen nicht.
Das hat zur Folge, dass eine neue Route erstellt wird. Und somit sind bestimmte Rechner nicht mehr erreichbar.

Hat da jmd. eine Idee? Oder kann das bei sich mal eben testen?!
Back to top
View user's profile Send private message
schmutzfinger
Veteran
Veteran


Joined: 26 Oct 2003
Posts: 1287
Location: Dresden/Germany

PostPosted: Wed Oct 06, 2004 10:28 pm    Post subject: Reply with quote

alias_eth0="192.168.0.1 xxx.xxx.xxx.1"
broadcast_eth0="192.168.0.255 xxx.xxx.xxx.255"
netmask_eth0="255.255.255.0 255.255.255.0"

das legt zu dem eth0 noch die beiden aliase an. damit hat dann eth0 3 adressen.
Back to top
View user's profile Send private message
DrunkenChicken
n00b
n00b


Joined: 06 Oct 2004
Posts: 2

PostPosted: Thu Oct 07, 2004 1:02 am    Post subject: Reply with quote

Klappt!
Vielen Dank für die schnelle Antwort ;-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum