-
Senior Member
registered user
How to set fixed ip adress in knoppix without DHCP ???
Downloaded remastered knoppix for OpenMosix testing.
Seems very nice ,but how the hell can I fix my ip adress in knoppix without DHCP ?
The config is as follows =>
The master (which boots on knoppix cd) has to have a fixed ipadress of
192.168.0.1 with a subnetmask of 255.255.255.252 . (this should give a broadcast adress of 192.168.0.3 ,with on this network only 2 client ip's possible : 192.168.0.1 and 192.168.0.2 ) .
Since in this openmosix version once the ip is fixed the dhcp server starts (also on this master) the only thin to do is to do a connection with crossed cable from the client pc (booting in PXE to this master pc).
To configure this in knoppix I use the provided with it 'netcardconfig'.
When answering 'No' to DHCP these are the questions asked by netcardconfig :
IPadress
NetworkMask
Broadcastadress
DefaultGateway
Namesserver(s)
With anything I fill in the result is : can't lookup broadcast
What must I fill in for these values ,or do i have to use ifconfig and do it completely manually ?
greetzzz,
Koen
-
Administrator
Site Admin-
You can manually fill them in just fine; I've done it and it works well. What values you need are dependent on your network and what you are connecting to, so I can't just tell you what to use.
I would suggest doing a DHCP boot and then checking what these values are; from there you could bypass dhcp and set them manually (be careful, of course, that you use a valid IP address and not one that dhcp might give out to another system, DHCP will give out addresses from it's pool and could give out the addres you select if you don't take care to select one not in the pool). Perhaps if you posted what you were using someone could point out what you were doing wrong. Some settings, like a bad mask, would be easy to spot, but others (like a bad DNS value) would not. Also, it would be helpful to know your local network configuration and what you are connecting to,
-
Senior Member
registered user
Say some typical networksettings for a simple direct connection between 2 pc's . (for example to use for data transfer)
-
Administrator
Site Admin-
Originally Posted by
ktheking
Say some typical networksettings for a simple direct connection between 2 pc's . (for example to use for data transfer)
If you're saying that you have no Internet connection, no dhcp server and no DNS servers, then I would suggest the following:
IP address: 192.168.1.10 for the Knoppix system
Network mask 255.255.255.0
Broadcast address: 192.168.1.255
Default gateway: Doesn't really apply, use the other system IP address to be safe.
Nameservers: again, does not apply, leave blank.
You'll also have to be sure the system you are connecting to has an IP address and the other settings. I suggest using 192.168.1.11 for the IP address, the same mask and broadcast address as above. The last two don't apply again, but point the default gateway on this second system at 192.168.1.10 if you need to configure one. You'll have to reference the computers by their IP addresses rather than by names, but all should work fine.
-
Administrator
Site Admin-
Rereading your original post I see you need specific addresses for a particular OpenMosix setup. I'm not at all clear why a clustering application would be trying to limit you to two IP addresses, but it seems the IP addresses and related info you posted should have been valid, I'm at a loss to understand why netcardconfig wouldn't accept them. I've set manual values in this way and it has worked fine for me.
-
Hello Dear,
Just do one thing. Follow these steps very carefully i think it may cause your prob. to be solved properly.
Step 1 Open the terminal window.
Step 2 Type command "netcardconfig" and press enter.
Step 3 After some time you will be prompted whether you want to use DHCP or some like same in a new window. Click on "NO" to this first question.
Step 4 Now It will ask for the IP. type your ip address and click on "O.K".
Step 5 Same way subnet, Default getway and in Getway give the ip of your proxy server. and in DNS give the ip of DNS server. -->You can obtain this from your ISP admin. and Your broadcast ip address that you have to calculate either manualy or by using a S/W called ip caculator.
after entering all the required ip your machine is in n/w and you can access internet.
Long live "Live linux"
-
Senior Member
registered user
Similar Threads
-
By equex in forum Networking
Replies: 0
Last Post: 04-03-2005, 04:27 PM
-
By magicoizo in forum General Support
Replies: 1
Last Post: 05-20-2004, 04:35 AM
-
By ahz in forum Customising & Remastering
Replies: 2
Last Post: 04-30-2004, 07:13 AM
-
By ktheking in forum General Support
Replies: 1
Last Post: 08-06-2003, 03:53 AM
-
By StuartP in forum Networking
Replies: 4
Last Post: 06-03-2003, 11:58 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Grandstream GS-HT802 2 Port Analog Telephone Adapter VoIP Phone & Device, Black
$32.00
Polycom VVX 411 IP VOIP POE Gigabit Telephone [L/N] BUSINESS OFFICE RECEPTION
$24.00
Grandstream WP820 Portable Wi-Fi Phone Voip Phone Device Rechargeable 1500Mah
$86.48
LOT OF 5 Cisco CP-8841-K9 IP Phone Color VoIP PoE Tested and Reset
$87.99
Cisco CP-7945G VOIP Phone With Stand & Handset Business IP Phone 7945
$3.00
Ooma Phone Genie VoIP Home Phone Service - White (100-0474-100)
$16.27
New Cisco 7945G IP VoIP Gigabit GIGE Telephone Phone CP-7945G -
$24.95
Yealink SIP-T54W 16-Line Color Display Business VoIP Phone /w Built-in Bluetooth
$50.99
Cisco 7962 Series CP-7962G Unified VoIP IP Business Phone
$6.99
Polycom VVX 411 IP VOIP POE Gigabit Telephone ONSIP GOOGLE VOICE ZOOM MEETING
$24.00