Ask a Question related to FreeBSD, Design and Development.
-
Marty Landman #1
ip addr changes on 5.3 but not on 4.8
I'm running both 4.8 and 5.3 on two different boxes in my office. Both have
specified in rc.conf their hostname and default router (a win xp box with
my dial up connection) and
ifconfig_dc0="DHCP" # 5.3
ifconfig_ep0="DHCP" # 4.8
Also the 5.3 box has
ipv6_enable="YES"
I don't understand what the ipv6 is about although guess it comes from
/stand/sysinstall config. Also don't get why 4.8 is using EP0 for the nic
while 5.3 uses DC0 for the nic - don't know if this is because of the FBSD
version or my hardware on each box.
Here's the problem, hope the preceding is a good background to it. Find
that the IP address for the 5.3 box gets changed on a fairly regular basis
by (I guess) my xp gateway so that I then have to change the gateway hosts
file, the 5.3 hosts file and 5.3 rc.conf file.
The 4.8 box's IP addr has been stable.
Any idea where I start to fix this? Would like the 5.3 box's IP addr to
remain stable as well.
Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search & Sort Easily: [url]http://face2interface.com/Products/FormATable.shtml[/url]
Web Installed Formmail: [url]http://face2interface.com/formINSTal[/url]
Marty Landman Guest
-
Get IP Addr or Hostname of CF server
Hello, I need to write some ColdFusion code that will do things a little differently based on what ColdFusion server it is running on. Is there... -
outputing field with spaces in name (bus addr)inmsaccess
how to form the output for a field with a space in the name. Using MSAccess. <cfoutput> #members.# </cfoutput>doesn't work. Neither did about 5... -
REMOVE THIS ADDR! [ERR] [PHP] PHP vs ASP.NET "formal opinions"request
PLEASE REMOVE THIS ADDR FROM THE LIST! IT'S NOT LIKE HE/SHE IS GOING TO BE MISSING ANY MESSAGES! postmaster@hanmir.com wrote: -
Site without link-bar and addr.-bar.
"pejs" webforumsuser@macromedia.com wrote: I assume you mean the browser's default bars, and not something within your pages? If so, you... -
Jonathan Chen #2
Re: ip addr changes on 5.3 but not on 4.8
On Fri, Feb 25, 2005 at 04:16:40PM -0500, Marty Landman wrote:
[...]This has nothing to do with the FreeBSD boxes, but rather a> Here's the problem, hope the preceding is a good background to it. Find
> that the IP address for the 5.3 box gets changed on a fairly regular basis
> by (I guess) my xp gateway so that I then have to change the gateway hosts
> file, the 5.3 hosts file and 5.3 rc.conf file.
>
> The 4.8 box's IP addr has been stable.
>
> Any idea where I start to fix this? Would like the 5.3 box's IP addr to
> remain stable as well.
configuration issue with your DHCP server. The DHCP server can be
configured so that it will always give the same IP for a particular
NIC. Talk to your admin about it.
--
Jonathan Chen <jonc@chen.org.nz>
----------------------------------------------------------------------
"You can get farther with a kind word and a gun
than you can with a kind word alone" - Al Capone
Jonathan Chen Guest
-
Marty Landman #3
Re: ip addr changes on 5.3 but not on 4.8
At 05:27 PM 2/25/2005, Jonathan Chen wrote:
Yikes Jonathan, I /am/ the admin. {:/>On Fri, Feb 25, 2005 at 04:16:40PM -0500, Marty Landman wrote:
>
>[...]>> > Here's the problem, hope the preceding is a good background to it. Find
> > that the IP address for the 5.3 box gets changed on a fairly regular basis
> > by (I guess) my xp gateway so that I then have to change the gateway hosts
> > file, the 5.3 hosts file and 5.3 rc.conf file.
> >
> > The 4.8 box's IP addr has been stable.
> >
> > Any idea where I start to fix this? Would like the 5.3 box's IP addr to
> > remain stable as well.
>This has nothing to do with the FreeBSD boxes, but rather a
>configuration issue with your DHCP server. The DHCP server can be
>configured so that it will always give the same IP for a particular
>NIC. Talk to your admin about it.
Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search & Sort Easily: [url]http://face2interface.com/Products/FormATable.shtml[/url]
Web Installed Formmail: [url]http://face2interface.com/formINSTal[/url]
Marty Landman Guest
-
Jonathan Chen #4
Re: ip addr changes on 5.3 but not on 4.8
On Fri, Feb 25, 2005 at 06:20:31PM -0500, Marty Landman wrote:
Having never dealt with DHCP servers on Windows, I cannot give you too>> >This has nothing to do with the FreeBSD boxes, but rather a
> >configuration issue with your DHCP server. The DHCP server can be
> >configured so that it will always give the same IP for a particular
> >NIC. Talk to your admin about it.
> Yikes Jonathan, I /am/ the admin. {:/
much advise about how to configure them. However, since you are the
network admin, you could possibly switch to using a UNIX based DHCP
server, eg ports/net/isc-dhcp3-server. There are a few examples in the
sample config files that show how to allocate IP addresses based on
MAC addresses of NICs, and the server works a charm with Windows
machines as well.
Cheers.
--
Jonathan Chen <jonc@chen.org.nz>
----------------------------------------------------------------------
"Opportunity does not knock,
it presents itself when you beat down the door" - W.E. Channing
Jonathan Chen Guest
-
Eric F Crist #5
Re: ip addr changes on 5.3 but not on 4.8
On Feb 25, 2005, at 4:27 PM, Jonathan Chen wrote:
The other thing you could try would be to set a static IP on your> On Fri, Feb 25, 2005 at 04:16:40PM -0500, Marty Landman wrote:
>
> [...]>>> Here's the problem, hope the preceding is a good background to it.
>> Find
>> that the IP address for the 5.3 box gets changed on a fairly regular
>> basis
>> by (I guess) my xp gateway so that I then have to change the gateway
>> hosts
>> file, the 5.3 hosts file and 5.3 rc.conf file.
>>
>> The 4.8 box's IP addr has been stable.
>>
>> Any idea where I start to fix this? Would like the 5.3 box's IP addr
>> to
>> remain stable as well.
> This has nothing to do with the FreeBSD boxes, but rather a
> configuration issue with your DHCP server. The DHCP server can be
> configured so that it will always give the same IP for a particular
> NIC. Talk to your admin about it.
> --
workstations...
HTH
__________________________________________________ _____
Eric F Crist "I am so smart, S.M.R.T!"
Secure Computing Networks -Homer J Simpson
Eric F Crist Guest
-
Marty Landman #6
Re: ip addr changes on 5.3 but not on 4.8
At 10:32 AM 2/26/2005, Eric F Crist wrote:
[snip]>>On Fri, Feb 25, 2005 at 04:16:40PM -0500, Marty Landman wrote:
>>>>>that the IP address for the 5.3 box gets changed on a fairly regular basisI just can't help but notice that this is only a problem on my 5.3 box and>The other thing you could try would be to set a static IP on your>>>The 4.8 box's IP addr has been stable.
>workstations...
not on the 4.8. AFAIK the config's are identical, although obviously I am
still a newbie at this.
BTW, why is my nic on 4.8 ep0 but on 5.3 dc0? Is that the way it should be?
Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search & Sort Easily: [url]http://face2interface.com/Products/FormATable.shtml[/url]
Web Installed Formmail: [url]http://face2interface.com/formINSTal[/url]
Marty Landman Guest
-
wo_shi_big_stomach #7
Re: ip addr changes on 5.3 but not on 4.8
--- Marty Landman <MLandman@face2interface.com> wrote:
you might try paging through "dmesg | more" to see if> I just can't help but notice that this is only a
> problem on my 5.3 box and
> not on the 4.8. AFAIK the config's are identical,
> although obviously I am
> still a newbie at this.
the system recognizes your interface on bootup.
This is almost certainly a case of two different>
> BTW, why is my nic on 4.8 ep0 but on 5.3 dc0? Is
> that the way it should be?
Ethernet adapter cards in the two machines.
/wsbs
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
[url]http://promotions.yahoo.com/new_mail[/url]
wo_shi_big_stomach Guest
-
Jonathan Chen #8
Re: ip addr changes on 5.3 but not on 4.8
On Sat, Feb 26, 2005 at 09:06:41PM -0500, Marty Landman wrote:
As I said earlier, it has nothing to do with the FreeBSD machines and> At 10:32 AM 2/26/2005, Eric F Crist wrote:
>> [snip]> >>On Fri, Feb 25, 2005 at 04:16:40PM -0500, Marty Landman wrote:
> >>
> >>>that the IP address for the 5.3 box gets changed on a fairly regular
> >>>basis>> >The other thing you could try would be to set a static IP on your> >>>The 4.8 box's IP addr has been stable.
> >workstations...
> I just can't help but notice that this is only a problem on my 5.3 box and
> not on the 4.8. AFAIK the config's are identical, although obviously I am
> still a newbie at this.
everything to do with the DHCP Server.
--
Jonathan Chen <jonc@chen.org.nz> Once is dumb luck.
Twice is coincidence.
Three times and Somebody Is Trying To Tell You Something.
Jonathan Chen Guest
-
Marty Landman #9
Re: ip addr changes on 5.3 but not on 4.8
At 10:47 PM 2/26/2005, wo_shi_big_stomach wrote:
%dmesg | more | grep dc0>--- Marty Landman <MLandman@face2interface.com> wrote:
>>> > I just can't help but notice that this is only a
> > problem on my 5.3 box and
> > not on the 4.8.
>you might try paging through "dmesg | more" to see if
>the system recognizes your interface on bootup.
dc0: <82c169 PNIC 10/100BaseTX> port 0x6800-0x68ff mem
0xe9000000-0xe90000ff irq 11 at device 9.0 on pci0
miibus0: <MII bus> on dc0
dc0: Ethernet address: 00:a0:cc:40:55:cf
dc0: if_start running deferred for Giant
dc0: [GIANT-LOCKED]
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
dc0: failed to force tx and rx to idle state
...
... 332 identical lines deleted
...
dc0: failed to force tx and rx to idle state
Any problems here?
Thanks for explaining the reason for the different device names. I'm
thinking the 4.8 nic may be an isa 3com 10mbps, while am quite sure the 5.3
nic is a pci netgear 100mbps.
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search & Sort Easily: [url]http://face2interface.com/Products/FormATable.shtml[/url]
Web Installed Formmail: [url]http://face2interface.com/formINSTal[/url]
Marty Landman Guest
-
Marty Landman #10
Re: ip addr changes on 5.3 but not on 4.8
At 11:32 PM 2/26/2005, Jonathan Chen wrote:
Ok, then the reason my DHCP server on my XP gateway would have to be>On Sat, Feb 26, 2005 at 09:06:41PM -0500, Marty Landman wrote:>> >
> > I just can't help but notice that this is only a problem on my 5.3 box and
> > not on the 4.8. AFAIK the config's are identical, although obviously I am
> > still a newbie at this.
>As I said earlier, it has nothing to do with the FreeBSD machines and
>everything to do with the DHCP Server.
discriminating between the boxes since it's consistently only happening to
one box and not the other.
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search & Sort Easily: [url]http://face2interface.com/Products/FormATable.shtml[/url]
Web Installed Formmail: [url]http://face2interface.com/formINSTal[/url]
Marty Landman Guest
-
Eric F Crist #11
Re: ip addr changes on 5.3 but not on 4.8
On Feb 26, 2005, at 8:06 PM, Marty Landman wrote:
Marty,> At 10:32 AM 2/26/2005, Eric F Crist wrote:
>> [snip]>>> On Fri, Feb 25, 2005 at 04:16:40PM -0500, Marty Landman wrote:
>>>
>>>> that the IP address for the 5.3 box gets changed on a fairly
>>>> regular basis>>> The other thing you could try would be to set a static IP on your>>>> The 4.8 box's IP addr has been stable.
>> workstations...
> I just can't help but notice that this is only a problem on my 5.3 box
> and not on the 4.8. AFAIK the config's are identical, although
> obviously I am still a newbie at this.
>
> BTW, why is my nic on 4.8 ep0 but on 5.3 dc0? Is that the way it
> should be?
>
> Marty
The ed0, dc0 situation is because of the driver the NIC uses. If you
have two, or three, etc, cards that all use the same driver, then
you'll start to see dc0, dc1, dc2, etc (provided they use the dc
driver...
HTH
__________________________________________________ _____
Eric F Crist "I am so smart, S.M.R.T!"
Secure Computing Networks -Homer J Simpson
Eric F Crist Guest
-
Jonathan Chen #12
Re: ip addr changes on 5.3 but not on 4.8
On Sun, Feb 27, 2005 at 11:46:47AM -0500, Marty Landman wrote:
[...]Correct. It is possible to set up DHCP servers so that the IP address> Ok, then the reason my DHCP server on my XP gateway would have to be
> discriminating between the boxes since it's consistently only happening to
> one box and not the other.
given out to clients is based on the MAC address of each network
device. That sure sounds like what your DHCP is doing.
--
Jonathan Chen <jonc@chen.org.nz>
----------------------------------------------------------------------
"Irrationality is the square root of all evil"
- Douglas Hofstadter
Jonathan Chen Guest
-
Marty Landman #13
Re: ip addr changes on 5.3 but not on 4.8
At 01:25 PM 2/27/2005, Jonathan Chen wrote:
It's odd that this only happens on one of three 'nix boxes on my LAN.>On Sun, Feb 27, 2005 at 11:46:47AM -0500, Marty Landman wrote:
>>> > Ok, then the reason my DHCP server on my XP gateway would have to be
> > discriminating between the boxes since it's consistently only happening to
> > one box and not the other.
>Correct. It is possible to set up DHCP servers so that the IP address
>given out to clients is based on the MAC address of each network
>device. That sure sounds like what your DHCP is doing.
Besides the fbsd 4.8 also have a rh9 and both have had very stable ip addr's.
The only thing I edit on the xp gateway is the %system%\drivers\etc\hosts
file to map names to the ip's that appear to be assigned by the gateway
itself, i.e. I let the gateway assign an ip, then ping by name to get the
ip for mapping on the gateway host file.
Well I'm more interested in moving my gateway to fbsd than in learning the
intricacies of windows ip assignments so maybe it's time to file this under
'interesting, but not worth pursuing now'.
Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search & Sort Easily: [url]http://face2interface.com/Products/FormATable.shtml[/url]
Web Installed Formmail: [url]http://face2interface.com/formINSTal[/url]
Marty Landman Guest



Reply With Quote

