All pastes #1736601 Raw Edit

Untitled

public text v1 · immutable
#1736601 ·published 2010-01-03 20:48 UTC
rendered paste body
pgn# /etc/rc.d/netif restart && /etc/rc.d/routing restart
Stopping network:ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
 lo0 nfe0 gif1.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
nfe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 00:1e:90:cd:fd:4c
        inet 86.122.121.171 netmask 0xffffffc0 broadcast 86.122.121.191
        inet 86.122.121.190 netmask 0xffffffc0 broadcast 86.122.121.191
        inet 192.168.2.171 netmask 0xffffffc0 broadcast 192.168.2.191
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
::                   2001:470:1f0a:d40::1 done
add net default: gateway 86.122.121.129
Additional routing options: IP gateway=YES.

pgn# netstat -nr
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            86.122.121.129     UGS         0    35317   nfe0
86.122.121.128/26  link#1             UC          0        0   nfe0
86.122.121.129     00:1f:9e:d1:70:40  UHLW        2        0   nfe0   1200
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.2.128/26   link#1             UC          0        0   nfe0

Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
2001:470:1f0a:d40::1              link#3                        UHL        gif1
2001:470:1f0a:d40::2              link#3                        UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#2                        UHL         lo0
ff01:2::/32                       fe80::1%lo0                   UC          lo0
ff01:3::/32                       link#3                        UC         gif1
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
ff02::%gif1/32                    link#3                        UC         gif1
pgn# ifconfig -a
nfe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 00:1e:90:cd:fd:4c
        inet 86.122.121.171 netmask 0xffffffc0 broadcast 86.122.121.191
        inet 86.122.121.190 netmask 0xffffffc0 broadcast 86.122.121.191
        inet 192.168.2.171 netmask 0xffffffc0 broadcast 192.168.2.191
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
gif1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1280
        tunnel inet 86.122.121.171 --> 216.66.80.30
        inet6 2001:470:1f0a:d40::2 --> 2001:470:1f0a:d40::1 prefixlen 128
pgn# ping6 ipv6.google.com
ping6: UDP connect: No route to host