ip addr changes on 5.3 but not on 4.8

Ask a Question related to FreeBSD, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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:
    4. 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...
  3. #2

    Default 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:

    [...]
    > 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.
    --
    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

  4. #3

    Default Re: ip addr changes on 5.3 but not on 4.8

    At 05:27 PM 2/25/2005, Jonathan Chen wrote:
    >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.
    Yikes Jonathan, I /am/ the admin. {:/

    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

  5. #4

    Default 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:
    > >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. {:/
    Having never dealt with DHCP servers on Windows, I cannot give you too
    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

  6. #5

    Default Re: ip addr changes on 5.3 but not on 4.8

    On Feb 25, 2005, at 4:27 PM, Jonathan Chen wrote:
    > 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.
    > --
    The other thing you could try would be to set a static IP on your
    workstations...

    HTH
    __________________________________________________ _____
    Eric F Crist "I am so smart, S.M.R.T!"
    Secure Computing Networks -Homer J Simpson

    Eric F Crist Guest

  7. #6

    Default Re: ip addr changes on 5.3 but not on 4.8

    At 10:32 AM 2/26/2005, Eric F Crist wrote:
    >>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
    [snip]
    >>>The 4.8 box's IP addr has been stable.
    >The other thing you could try would be to set a static IP on your
    >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


    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

  8. #7

    Default Re: ip addr changes on 5.3 but not on 4.8

    --- 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. AFAIK the config's are identical,
    > although obviously I am
    > still a newbie at this.
    you might try paging through "dmesg | more" to see if
    the system recognizes your interface on bootup.
    >
    > BTW, why is my nic on 4.8 ep0 but on 5.3 dc0? Is
    > that the way it should be?
    This is almost certainly a case of two different
    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

  9. #8

    Default 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:
    > At 10:32 AM 2/26/2005, Eric F Crist wrote:
    >
    > >>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
    > [snip]
    > >>>The 4.8 box's IP addr has been stable.
    > >The other thing you could try would be to set a static IP on your
    > >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.
    As I said earlier, it has nothing to do with the FreeBSD machines and
    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

  10. #9

    Default Re: ip addr changes on 5.3 but not on 4.8

    At 10:47 PM 2/26/2005, wo_shi_big_stomach wrote:
    >--- 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.
    %dmesg | more | grep dc0

    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

  11. #10

    Default Re: ip addr changes on 5.3 but not on 4.8

    At 11:32 PM 2/26/2005, Jonathan Chen wrote:
    >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.
    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.


    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

  12. #11

    Default Re: ip addr changes on 5.3 but not on 4.8

    On Feb 26, 2005, at 8:06 PM, Marty Landman wrote:
    > At 10:32 AM 2/26/2005, Eric F Crist wrote:
    >
    >>> 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
    > [snip]
    >>>> The 4.8 box's IP addr has been stable.
    >> The other thing you could try would be to set a static IP on your
    >> 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
    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

  13. #12

    Default 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:

    [...]
    > 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.
    --
    Jonathan Chen <jonc@chen.org.nz>
    ----------------------------------------------------------------------
    "Irrationality is the square root of all evil"
    - Douglas Hofstadter
    Jonathan Chen Guest

  14. #13

    Default Re: ip addr changes on 5.3 but not on 4.8

    At 01:25 PM 2/27/2005, Jonathan Chen wrote:
    >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.
    It's odd that this only happens on one of three 'nix boxes on my LAN.
    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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139