#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2004
    Posts
    86
    Rep Power
    11

    Where are the IP addresses configured in FreeBSD 5.3?


    When i run ifconfig i get this

    # ifconfig
    vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    inet 66.xxx.xxx.24 netmask 0xfffff800 broadcast 66.xxx.xxx.255
    inet6 fe80::250:70ff:feb6:52cf%vr0 prefixlen 64 scopeid 0x1
    inet 66.xxx.xxx.211 netmask 0xfffff800 broadcast 66.xxx.xxx.255
    inet 38.xxx.xxx.147 netmask 0xffffffff broadcast 38.xxx.xxx.147
    inet 38.xxx.xxx.148 netmask 0xffffffff broadcast 38.xxx.xxx.148
    inet 38.xxx.xxx.149 netmask 0xffffffff broadcast 38.xxx.xxx.149
    ether 00:50:70:b6:52:cf
    media: Ethernet autoselect (100baseTX <full-duplex>)
    status: active
    plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
    lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
    inet 127.0.0.1 netmask 0xff000000
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3

    66.xxx.xxx.24 and 66.xxx.xxx.211 are supposed to be there (they are configured in rc.conf)
    But i cannot figure out why its trying to use 38.xxx.xxx.147 as the 38.x ips are the old ip of the server, but they have been removed from rc.conf.
    I have rebooted with no luck.

    Is there some other file other then rc.conf that could be referenceing this ips?

    Thanks,
    Eric
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,607
    Rep Power
    4247
    Well, someone could have set them in /etc/rc.local perhaps (or a clueless admin might have stuck them in /etc/defaults/rc.conf). Try doing a grep -r for those ip addresses within the /etc directory.
    Up the Irons
    What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
    "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
    Down with Sharon Osbourne

    "I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2004
    Posts
    86
    Rep Power
    11
    It was /etc/rc.local thanks!

IMN logo majestic logo threadwatch logo seochat tools logo