Date: Tue, 09 Sep 2003 10:36:55 -0500 From: Kirk Strauser <kirk@strauser.com> To: freebsd-questions@freebsd.org Subject: Assigning address to physical interface on IPv6 gateway Message-ID: <878yoygei0.fsf@strauser.com>
next in thread | raw e-mail | index | archive | help
I'm connecting to Freenet (and other IPv6 providers) from a few FreeBSD servers. The tunnels work well, and rtadvd is correctly configuring other hosts on the LAN, but I'm not too sure about how to configure other interfaces on the IPv6 router itself. For example, this is the tunnel interface on one of the machines: kirk@gopher:~$ ifconfig gif0 inet6 gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280 tunnel inet 208.162.254.126 --> 64.71.128.82 inet6 fe80::2d0:b7ff:fe4e:11c2%gif0 prefixlen 64 scopeid 0x7 inet6 2001:470:1f00:ffff::37d --> 2001:470:1f00:ffff::37c prefixlen 128 ...and this is the LAN interface on the same machine. kirk@gopher:~$ ifconfig fxp1 inet6 fxp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet6 fe80::203:47ff:feb1:d892%fxp1 prefixlen 64 scopeid 0x2 inet6 2001:470:1f00:546:: prefixlen 64 anycast Note that the host portion of the address is all zero. Also, whenever I connect to any machine on the LAN, the source IP is 2001:470:1f00:ffff::37d, the local IPv6 address of the tunnel. I have two basic questions: 1) What should my address be on fxp1? How do I configure that automatically (i.e., edit rtadvd.conf)? 2) Why isn't my router using the address of the LAN interface for the source IP on outgoing connections to machines on the LAN? -- Kirk Strauser "94 outdated ports on the box, 94 outdated ports. Portupgrade one, an hour 'til done, 82 outdated ports on the box."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?878yoygei0.fsf>