View previous topic :: View next topic |
Author |
Message |
VampyreUK n00b
Joined: 18 Jul 2002 Posts: 51 Location: UK
|
Posted: Tue Jul 23, 2002 10:16 am Post subject: Static Networking |
|
|
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 |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Tue Jul 23, 2002 11:31 am Post subject: Re: Static Networking |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Tue Jul 23, 2002 3:20 pm Post subject: |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Tue Jul 23, 2002 3:20 pm Post subject: |
|
|
Oh yeah, moving to Networking forum. _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
mrchuckles Tux's lil' helper
Joined: 09 Jul 2002 Posts: 125 Location: Severn, MD
|
Posted: Tue Jul 23, 2002 3:27 pm Post subject: |
|
|
$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 |
|
|
|