LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 01-05-2005, 07:56 PM   #1
Paxmaster
Member
 
Registered: Jun 2004
Location: unknown place in NYC
Distribution: Ubuntu
Posts: 377

Rep: Reputation: 30
how could i have fix lan ip address to a computer


my lan computer keeps changing its addreess when i shut off or reboot

its there a way to make computer have the same lan ipaddress

not the wan ipaddress by the way

thanks
 
Old 01-06-2005, 09:40 AM   #2
benjalien
Member
 
Registered: Aug 2003
Location: Belgium
Distribution: Debian (i686/ppc/amd64)
Posts: 83

Rep: Reputation: 15
that's easy (at least it should be)

Hi

Think about editing (as root) /etc/network/interfaces
man interfaces should help you find out what to put in there
 
Old 01-06-2005, 01:49 PM   #3
Paxmaster
Member
 
Registered: Jun 2004
Location: unknown place in NYC
Distribution: Ubuntu
Posts: 377

Original Poster
Rep: Reputation: 30
would u kind of enough to give some examples

right now i am working on /etc/exports

so i need to have a fix ip address on my lan to know which ip address to mount

thanks mate
 
Old 01-06-2005, 01:57 PM   #4
Paxmaster
Member
 
Registered: Jun 2004
Location: unknown place in NYC
Distribution: Ubuntu
Posts: 377

Original Poster
Rep: Reputation: 30
it is possible to have hostname in /etc/exports instead of of ipaddress

and in /etc/hosts.allow and in hosts.deny


i guest not or .........
 
Old 01-07-2005, 01:22 AM   #5
not_an_expert
Member
 
Registered: Oct 2004
Location: Springfield VA
Distribution: Slackware
Posts: 39

Rep: Reputation: 15
Yes, it is possible to nail down the cards so they don't go walkabout.

What distro are you using?

BTW, if they are doing this on every reboot, you should check your NVRAM/CMOS battery. They should not be going into a plug and pray cycle just because you rebooted. This usually only happens when you move cards around on a PCI bus or manually clear the NVRAM.
 
Old 01-07-2005, 01:27 AM   #6
not_an_expert
Member
 
Registered: Oct 2004
Location: Springfield VA
Distribution: Slackware
Posts: 39

Rep: Reputation: 15
Woops, I misread your post. I though your LAN & WAN cards were swapping addresses - they can do that if you aren't careful.

Are you getting your LAN address via DHCP? What is your specific LAN config? What is the LAN plugged in to? What distribution are you using?
 
Old 01-08-2005, 04:17 PM   #7
Paxmaster
Member
 
Registered: Jun 2004
Location: unknown place in NYC
Distribution: Ubuntu
Posts: 377

Original Poster
Rep: Reputation: 30
sorry i was out for two days

yes i have DHCP, laptop dell c800

I have debian sarge distro
 
Old 01-08-2005, 05:43 PM   #8
not_an_expert
Member
 
Registered: Oct 2004
Location: Springfield VA
Distribution: Slackware
Posts: 39

Rep: Reputation: 15
What server is handling DHCP for you? How long are the leases?
 
Old 01-13-2005, 11:47 AM   #9
Paxmaster
Member
 
Registered: Jun 2004
Location: unknown place in NYC
Distribution: Ubuntu
Posts: 377

Original Poster
Rep: Reputation: 30
my router is handling the DHCP

the wired part is my ip address is going up like the end of the part 101 102 now is in 135

it use to be between 100 and 104 because i have 4 computer,

i only want to know could i have fix ipaddress
 
Old 01-13-2005, 01:09 PM   #10
Bi0haZarD
LQ Newbie
 
Registered: Jan 2005
Distribution: Red Hat 9.0
Posts: 13

Rep: Reputation: 0
check your router for Address Reservation. thats what i do...

you may be able to turn off the DHCP and just specify the IP to one that won't ever be used like 250 so when the other 3 computers get IP's they won't conflict with eachother.

and set the DHCP range from like 100-200

Last edited by Bi0haZarD; 01-13-2005 at 01:10 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to find the ip address of a computer that is connected to LAN gajaykrishnan Linux - Networking 7 12-03-2010 05:38 AM
URGENT how to fix this really f*cked up computer? => a try in helping a friend ungua General 19 10-02-2005 11:27 AM
Control Alt Delete Restarts Computer, how to fix? PeaceTank Linux - Software 1 02-22-2005 01:00 AM
Fix ip address vs Dynamic ip address yenonn Linux - Networking 5 04-13-2004 07:25 AM
Nic card changes Gateway address for ppp0 How can I fix this? Tiyogi Red Hat 2 03-30-2004 09:45 PM


All times are GMT -5. The time now is 07:11 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