[CLUE-Tech] Forcing TCP/IP Address - RedHat 7.3

Mike Benavides tipsrules99 at attbi.com
Sun Jul 28 11:42:40 MDT 2002


> Two things...  dhcpd can be set up to assign IP X to MAC address Y... (or at
> least the linux version of dhcpd can.. don't know about your router.  Also,
> most DHCP clients will ask the server for the IP that they had last time,
> and it will tell them if they can have it or not.  I know in Windows this is
> the default..  If linux isn't doing it, try checking the docs for dhcpcd or
> pump to see if they can do it.
> 
> Jeremy
> ----- Original Message -----
> From: "Gary Threlkeld" <gthrelk at attbi.com>
> To: "CLUE-Tech" <clue-tech at clue.denver.co.us>
> Sent: Saturday, July 27, 2002 7:40 PM
> Subject: [CLUE-Tech] Forcing TCP/IP Address - RedHat 7.3
> 
> 
> > Hello Network Gru's -
> >
> > I'm trying to CONSISTANTLY get two machines to talk to one another.
> > My problem currently is that I have a router that has DHCP turned.  It
> > assigns machines IP addresses in the order in which machines log onto
> > the network such as:
> >
> > Router:     192.168.2.1
> > Tom:        192.168.2.100
> > Dick:        192.168.2.101
> >
> > If I set the /etc/host file to reflect these IP addresses and the
> > machines are logged onto the network in the order of Tom first and
> > Dick second, the machines can find each other by their names OK -
> > (such as ping Tom or ping Dick).  But if the machines are logged onto
> > the network in a different order, their assigned IP addresses are
> > swapped - and they can't find each other.
> >
> > I can turn off DHCP but my question is how do I force setting of each
> > machine's TCP/IP address so that it is consistantly assigned the same
> > IP address on the network?
> >
> > Thanks,
> >
> > Gary Threlkeld
> > Email:      gthrelk at attbi.com
> >
> >
> >
Gary et al;
If you want to use static IPs you must turn off DHCP of the router. Set
up the router with the static IP that you are using in you're /etc/hosts
file. This has worked for me of my Linksys router in the past. also
check your routing routing tables.

Mike Benavides




More information about the clue-tech mailing list