Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-21-2005, 03:50 PM
|
#1
|
Member
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285
Rep:
|
Setting a static IP
Hello
I know how to set a static IP, but when I go to set it, Knoppix asks for other IP's that I dont know.
So far I am running dhcp behind an Xp box, on the 192.168.0.x range. Xp box is 192.168.0.1, I want this box to be .2.
So, IP should be as follows:
IP 192.168.0.2
Subnet 255.255.255.0
Gateway 192.168.0.1
DNS 192.168.0.1
But then it asks for broadcast address and stuff...what should these be?
Thanks
hONG
|
|
|
02-21-2005, 03:51 PM
|
#2
|
Member
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285
Original Poster
Rep:
|
and also setting for nameserver...
|
|
|
02-21-2005, 03:54 PM
|
#3
|
Member
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285
Original Poster
Rep:
|
again, sorry scrap that. I entered 192.168.0.1 for those and its working. I swear I tried it before and it didnt work...never mind.
Now I got it working, I am curious: what IS the broadcast address and nameserver? Thinking about it I presume nameserver is the same as DNS?
|
|
|
02-21-2005, 05:32 PM
|
#4
|
Member
Registered: Jan 2005
Location: Norway
Distribution: Ubuntu Hoary / Debian Sarge
Posts: 62
Rep:
|
hehe, you like talking to yourself? no offence
Well... you are right, nameserver = DNS server
|
|
|
02-22-2005, 02:51 AM
|
#5
|
Member
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285
Original Poster
Rep:
|
Quote:
hehe, you like talking to yourself? no offence
|
Heheh, none taken. And yes, I am/was!!
So what does the broadcast address referr to?
|
|
|
02-22-2005, 04:55 AM
|
#6
|
Member
Registered: Feb 2005
Location: Portugal
Distribution: Slackware
Posts: 45
Rep:
|
The broadcast is the highest address in the group of addresses that you have in your scale... which means 192.168.0.255...
This is the address used to "broadcast" some info inside the network, for some specific reasons...
There are another important address, the network address, in this case is "192.168.0.0"... this two addresses are always reserved for this purposes...
So... if you want to set a static IP address... you can use this info.. and you have to remember that you default gateway (and nameserver) is going to be the address "192.168.0.1" which means your XP machine...
See you around!
/edu
|
|
|
02-22-2005, 05:07 AM
|
#7
|
Member
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285
Original Poster
Rep:
|
Thanks
All working, fully explained.
Hong
PS yes, looks like you'll be seeing a lot more of me round here!!
|
|
|
All times are GMT -5. The time now is 05:02 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|