Fastest way to change IP addresses

Gerard Samuel fbsd-questions at trini0.org
Sat Nov 15 11:43:00 PST 2003


On Saturday 15 November 2003 02:35 pm, Jamie wrote:
> 1) ifconfig de0 200.80.11.8 255.255.255.0
>
>   ifconfig -a then gives me:
>
>   fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 200.80.11.8 netmask 0xffffff00 broadcast 200.88.11.255
>         ether 00:03:47:b1:d6:1c
>         media: 10BaseT/UTP status: active
>
>
>
>   But then I cannot ping the gateway,
>
>    ping 200.80.11.1
>
>   5 Packets transmitted, 0 packets received 100% packet loss

Works fine for me ->
gladiator# ifconfig
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255
        ether 00:80:29:65:e2:96
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
gladiator# ping -c 5 gatekeeper
PING gatekeeper.trini0.org (192.168.0.1): 56 data bytes
64 bytes from 192.168.0.1: icmp_seq=0 ttl=64 time=0.350 ms
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=0.255 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=0.226 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=0.224 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=64 time=0.242 ms

--- gatekeeper.trini0.org ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.224/0.259/0.350/0.047 ms
gladiator# ifconfig fxp0 192.168.0.10
gladiator# ifconfig
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.0.10 netmask 0xffffff00 broadcast 192.168.0.255
        ether 00:80:29:65:e2:96
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
gladiator# ping -c 5 gatekeeper
PING gatekeeper.trini0.org (192.168.0.1): 56 data bytes
64 bytes from 192.168.0.1: icmp_seq=0 ttl=64 time=0.337 ms
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=0.225 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=0.249 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=0.224 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=64 time=0.224 ms

--- gatekeeper.trini0.org ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.224/0.252/0.337/0.044 ms



More information about the freebsd-questions mailing list