Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Static Networking
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
VampyreUK
n00b
n00b


Joined: 18 Jul 2002
Posts: 51
Location: UK

PostPosted: Tue Jul 23, 2002 10:16 am    Post subject: Static Networking Reply with quote

Hi,

On the assumption that my Internet (emerge) problems are due to proxy probs I thought I'd try static networking :-)

In the FAQ it says:

We need to setup just enough networking so that we can download sources for the system build, as well as the required localhost interface. Type in the following commands, replacing $IFACE with your network interface (typically eth0), $IPNUM with your IP address, $BCAST with your broadcast address, and $NMASK with your network mask. For the route command, replace $GTWAY with your default gateway.

I assume $NMASK is the subnet but can someone tell me what $BCAST is?

Thanks

VampyreUK
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Tue Jul 23, 2002 11:31 am    Post subject: Re: Static Networking Reply with quote

VampyreUK wrote:
I assume $NMASK is the subnet but can someone tell me what $BCAST is?

It's your broadcast IP address. It's the address to which broadcast packets are sent when you want every machine on your network to see.

If that still doesn't make sense, you probably want to learn a bit more about TCP/IP. There's several good tutorials on Google. (as well as some crappy ones...) And there's also lots of good books as well.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Tue Jul 23, 2002 3:20 pm    Post subject: Reply with quote

Well... $BCAST sends to everything on that interface's subnet. There's also the local broadcast address (255.255.255.255)... yeah, nevermind.

Anyway, you can calculate it using binary math: (ip AND netmask) OR (NOT netmask)
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Tue Jul 23, 2002 3:20 pm    Post subject: Reply with quote

Oh yeah, moving to Networking forum.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
mrchuckles
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2002
Posts: 125
Location: Severn, MD

PostPosted: Tue Jul 23, 2002 3:27 pm    Post subject: Reply with quote

$NMASK is your subnet mask.
$BCAST is your broadcast address. You shouldn't need this, as ifconfig should be able to caculate your broadcast address based on your IP and subnet mask.
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