Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
alias_eth0, broadcast and netmask
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Dodga
n00b
n00b


Joined: 20 Mar 2003
Posts: 16

PostPosted: Wed Feb 18, 2004 10:07 am    Post subject: alias_eth0, broadcast and netmask Reply with quote

Hi,

i have a small problem, i know i can solve it on an other way, but i wanted to use the gentoo builtin features.

For example:
Quote:
IP: 83.64.59.226
Netmask: 255.255.255.240


i setup my eth0 interface with these values:
Quote:
iface_eth0="83.64.59.226 broadcast 83.64.59.239 netmask 255.255.255.240"


Now i want to bind 83.64.59.227 to the same interface
Quote:
alias_eth0="83.64.59.227"


Why i dont get the same broadcast or networkmask i used for eth0?
Look at my ouptput

Quote:
eth0 Link encap:Ethernet HWaddr 00:50:BF:10:F3:C5
inet addr:83.64.59.226 Bcast:83.64.59.239 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:22 errors:0 dropped:0 overruns:0 frame:0
TX packets:206 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1928 (1.8 Kb) TX bytes:19960 (19.4 Kb)
Interrupt:10 Base address:0xf000

eth0:0 Link encap:Ethernet HWaddr 00:50:BF:10:F3:C5
inet addr:83.64.59.227 Bcast:83.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:75135 errors:0 dropped:0 overruns:0 frame:0
TX packets:1012 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6832744 (6.5 Mb) TX bytes:117922 (115.1 Kb)
Interrupt:10 Base address:0xf000


Is that a bug or is there a way i can add the broadcast/netmask to the alias? Like i said at the begining, i can easy add these values with an ifconfig command, but i wanted to use the defaultscript for that

Dodga

Dodga
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Wed Feb 18, 2004 10:26 am    Post subject: Reply with quote

I dunno whats going on there.
I just configure an IP for an alias for my eth0.

Maybe it's because of your netmask it's getting confused?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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