October 18th, 2005, 02:10 PM
Where are the IP addresses configured in FreeBSD 5.3?
When i run ifconfig i get this
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
media: Ethernet autoselect (100baseTX <full-duplex>)
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?
October 18th, 2005, 02:14 PM
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
October 18th, 2005, 02:18 PM
It was /etc/rc.local thanks!