Fedora sysconfig for 6in4 tunnel router

This Fedora 13 router is running dual-stack but only routing for ipv6. It’s also running radvd for router advertisements. DNS addresses are handed out by IPv4 DHCP from another machine.
I’m using Hurricane Electric’s tunnel broker, but I’ve xxxx’d out the allocations they gave me.
These configs should work pretty much the same on RHEL/Centos too.

[root@virtual0 ~]# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=virtual0.example.com
GATEWAY=10.233.0.1
IPV6FORWARDING=yes
IPV6_DEFAULTGW=2001:470:1f08:xxxx::1

[root@virtual0 ~]# cat /etc/sysconfig/network-scripts/ifcfg-sit1
DEVICE=sit1
BOOTPROTO=none
ONBOOT=yes
IPV6INIT=yes
IPV6TUNNELIPV4=216.66.80.26
IPV6ADDR=2001:470:1f08:xxxx::2/64

[root@virtual0 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
IPADDR=10.233.0.4
NETMASK=255.255.254.0
SEARCH=example.com
DNS1=10.233.0.9
DNS2=10.233.0.4
ONBOOT="yes"
IPV6INIT=yes
IPV6ADDR=2001:470:xxxx:1::1

[root@virtual0 ~]# cat /etc/radvd.conf 
interface eth0 {
  AdvSendAdvert on;
  MinRtrAdvInterval 30;
  MaxRtrAdvInterval 100;
  prefix 2001:470:xxxx:1::/64 {
    AdvOnLink on; 
    AdvAutonomous on; 
    AdvRouterAddr on; 
  };
};

Comments

    Leave a comment