LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-11-2007, 08:03 PM   #1
jborn
Member
 
Registered: Oct 2005
Distribution: FC 8
Posts: 53

Rep: Reputation: 15
Set IP address to static from DHCP assigned address


My linksys switch has a dhcp on it. I have it starting to assign address from 192.168.1.105 and up... I would like to assign a FC6 box 192.168.1.103

The FC6 box currently has IP4 on. It also currently automatically grabs an address from the linksys switch. How do I stop that from happening and assign it 192.168.1.103?

I would also like to give my box a name so that from my Windows boxes I can just search for a name. How do I do that?

Thanks for the information
 
Old 01-11-2007, 08:13 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
What linksys switch model are you using? Some of them allow for "static" DHCP (assign IP by MAC address) so that you could leave FC as DHCP but it would always get the same IP anyway.

There should be an option in the Network Settings dialog for static IP though (sorry, not much help on FC since I use Debian and I know networking is one of those things that's setup in completely different config files).
 
Old 01-11-2007, 09:33 PM   #3
jborn
Member
 
Registered: Oct 2005
Distribution: FC 8
Posts: 53

Original Poster
Rep: Reputation: 15
BEFSR41 V.2 The firmware version is 1.45.7, Jul 31 2003.

My guess is that the router is to old to support what you are talking about.

So any FC networking folks that know how to support this?
 
Old 01-12-2007, 12:56 AM   #4
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
I googled and found this.

Looks like you need to edit /etc/sysconfig/network-scripts/ifcfg-eth0 to looks something like this
Code:
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.0.255
HWADDR=00:0C:29:11:31:55
IPADDR=192.168.0.100
IPV6ADDR=
IPV6PREFIX=
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
Of course, change the network addresses to the correct subnet.

Good luck. If I'm wrong, I'll give you your money back...
 
Old 02-02-2007, 08:38 PM   #5
jborn
Member
 
Registered: Oct 2005
Distribution: FC 8
Posts: 53

Original Poster
Rep: Reputation: 15
That worked like a charm.. Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
eth0 ip assigned by dhcp , how would i know the ip address of the dhcp server where.. kublador Linux - Networking 14 05-16-2006 06:33 AM
Eth0 set up for Static, obtaining DHCP address?! IndustrialGeek Linux - Networking 2 01-03-2005 12:39 AM
DHCP Server MAC Address found, IP address not assigned wmburke Linux - Wireless Networking 17 11-17-2004 10:33 AM
dhcp assigned address nilbog Linux - Networking 4 04-02-2003 11:17 AM
How to find out my IP address on a DHCP IP Assigned machine? simonh Linux - Networking 2 12-10-2002 05:49 AM


All times are GMT -5. The time now is 02:56 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration