Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Setting IP Address
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
murph1083
n00b
n00b


Joined: 17 Jun 2006
Posts: 59

PostPosted: Mon Sep 18, 2006 8:01 pm    Post subject: Setting IP Address Reply with quote

I am trying to set my ip address the way the install handbook says I should but im a little confused:

config_eth0=( "192.168.0.2 netmask 255.255.255.0 brd 192.168.0.255" )
routes_eth0=( "default gw 192.168.0.1" )

I know what everything here means but I dont know what the brd is? Could someone clarify that for me?
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Mon Sep 18, 2006 8:07 pm    Post subject: Reply with quote

"brd" is short for "broadcast" — a packet sent to this address will be received by all the NICs on that subnet. The subnet here is 192.168.0.0/24 which means all the NICs have addresses in which the 192.168.0. is constant and the last number can vary from 1 to 254 (sometimes 254 is special like 255).
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
murph1083
n00b
n00b


Joined: 17 Jun 2006
Posts: 59

PostPosted: Mon Sep 18, 2006 8:08 pm    Post subject: Reply with quote

what should I put for this values. Im not sure what my address is? Is there a way i can find this?
Back to top
View user's profile Send private message
tkdfighter
Apprentice
Apprentice


Joined: 14 May 2004
Posts: 271
Location: Bludenz, Austria

PostPosted: Mon Sep 18, 2006 8:32 pm    Post subject: Reply with quote

Do you use a router at home? If so, you could set config_eth0=( "dhcp" ) and comment out routes_eth0 (this means to put a "#" in front of it, as the first character in the row). Otherwise, just leave it as it is right now. It should work.

To find out what your address is, use "ifconfig eth0".

For further reading, check out "man ifconfig" and http://en.wikipedia.org/wiki/IP_address.
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