I can ping6 the ip on my NIC locally, but I cannot ping6 my gateway
rc.conf:
Code:
[\u@r2d2:/root] # ping6 ipv6.google.com
PING6(56=40+8+8 bytes) 2001:19f0:7000:8945:5400:ff:fe05:3dab --> 2404:6800:400a:805::200e
ping6: sendmsg: Operation not permitted
ping6: wrote ipv6.l.google.com 16 chars, ret=-1
ping6: sendmsg: Operation not permitted
ping6: wrote ipv6.l.google.com 16 chars, ret=-1
ping6: sendmsg: Operation not permitted
ping6: wrote ipv6.l.google.com 16 chars, ret=-1
^C
--- ipv6.l.google.com ping6 statistics ---
3 packets transmitted, 0 packets received, 100.0% packet loss
Code:
[\u@r2d2:/root] # netstat -rn
Routing tables
Internet:
Destination Gateway Flags Netif Expire
default 107.191.60.1 UGS vtnet0
107.191.60.0/24 link#1 U vtnet0
107.191.60.48 link#1 UHS lo0
127.0.0.1 link#2 UH lo0
169.254.0.0/16 56:00:00:05:3d:ab US vtnet0
Internet6:
Destination Gateway Flags Netif Expire
::/96 ::1 UGRS lo0
default 56:00:00:05:3d:ab US vtnet0
::1 link#2 UH lo0
::ffff:0.0.0.0/96 ::1 UGRS lo0
2001:19f0:7000:8945::/64 link#1 U vtnet0
2001:19f0:7000:8945::64 link#1 UHS lo0
2001:19f0:7000:8945:5400:ff:fe05:3dab link#1 UHS lo0
fe80::/10 ::1 UGRS lo0
fe80::%vtnet0/64 link#1 U vtnet0
fe80::5400:ff:fe05:3dab%vtnet0 link#1 UHS lo0
fe80::%lo0/64 link#2 U lo0
fe80::1%lo0 link#2 UHS lo0
fe80::%tun0/64 link#4 U tun0
fe80::5029:5a67:f95a:a47e%tun0 link#4 UHS lo0
ff01::%vtnet0/32 fe80::5400:ff:fe05:3dab%vtnet0 U vtnet0
ff01::%lo0/32 ::1 U lo0
ff01::%tun0/32 fe80::5029:5a67:f95a:a47e%tun0 U tun0
ff02::/16 ::1 UGRS lo0
ff02::%vtnet0/32 fe80::5400:ff:fe05:3dab%vtnet0 U vtnet0
ff02::%lo0/32 ::1 U lo0
ff02::%tun0/32 fe80::5029:5a67:f95a:a47e%tun0 U tun0
Code:
[\u@r2d2:/root] # ifconfig
vtnet0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=6c03bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
ether 56:00:00:05:3d:ab
inet6 fe80::5400:ff:fe05:3dab%vtnet0 prefixlen 64 scopeid 0x1
inet6 2001:19f0:7000:8945:5400:ff:fe05:3dab prefixlen 64 autoconf
inet 107.191.60.48 netmask 0xffffff00 broadcast 107.191.60.255
inet6 2001:19f0:7000:8945::64 prefixlen 64
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
media: Ethernet 10Gbase-T <full-duplex>
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
pflog0: flags=100<PROMISC> metric 0 mtu 33160
tun0: flags=8050<POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500
options=80000<LINKSTATE>
inet6 fe80::5029:5a67:f95a:a47e%tun0 prefixlen 64 scopeid 0x4
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
Opened by PID 1054
Code:
[\u@r2d2:/root] # cat /etc/rc.conf| curl -F 'sprunge=<-' http://sprunge.us
http://sprunge.us/GDFg
Code:
[\u@r2d2:/root] # service ipfw onestop
sysctl: unknown oid 'net.inet.ip.fw.enable': No such file or directory
sysctl: unknown oid 'net.inet6.ip6.fw.enable': No such file or directory
Code:
[\u@r2d2:/root] # route add -inet6 default -iface vtnet0
route: writing to routing socket: File exists
add net default: gateway vtnet0 fib 0: route already in table
rc.conf:
Code:
hostname="r2d2.ex-mailer.com"
sshd_enable="YES"
gateway_enable="yes"
ipv6_gateway_enable="YES"
static_routes=linklocal
route_linklocal="-net 169.254.0.0/16 -interface vtnet0"
ifconfig_vtnet0="inet 107.191.60.48 netmask 255.255.255.0"
ipv6_activate_all_interfaces="YES"
ifconfig_vtnet0_ipv6="inet6 2001:19f0:7000:8945:0001:0001:0001:0002 prefixlen 64"
crypto_load=YES
defaultrouter="107.191.60.1"
cryptodev_load=YES
aesni_load=YES
virtio_random_load=YES
ifconfig_vtnet0_ipv6="inet6 2001:19f0:7000:8945::64 prefixlen 64"
ifconfig_vtnet0="107.191.60.48 netmask 255.255.255.0"
defaultrouter="107.191.60.1"
rtsold_enable=YES
ipv6_activate_all_interfaces=YES
rtsold_flags="-aF"
apache24_enable="YES"
named_enable="YES"
mysql_enable="YES"
dovecot_enable="YES"
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
postfix_enable="YES"
apache24_enable="YES"
saslauthd_enable="YES"
spamd_enable="YES"
clamav_freshclam_enable="YES"
clamav_clamd_enable="YES"
maiad_enable="YES"
mailman_enable="YES"
milteropendkim_enable="YES"
milteropendkim_uid="opendkim"
mailgraph_enable="YES"
swapfile="/usr/swap0"
policyd2_enable="YES"
pf_enable="NO"
#pf_rules="/home/pf.conf"
#pflog_enable="YES"
#pflog_logfile="/var/log/pflog"
#natd_enable="YES"
#natd_interface="vtnet0"
#natd_flags="-dynamic -m"
#openvpn_enable="YES"
#openvpn_config="/usr/local/etc/openvpn.conf"
#openvpn_if="tun"
#openvpn_if="tap"