On Tuesday 30 August 2005 21:43, Paul Schenkeveld wrote: > > I am wondering what the "right" solution is here - I guess I could assign > > an IP to the tunnel but it seems like a bit of a waste.. > > You could assign the same IP address as dc1 to your gif0 interface but > with a /32 netmask.
Hmm, I tried this but I can't work out the magic incantation to get it to do it.. Here is what it currently is set to metatron# ifconfig gif0 gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1452 tunnel inet 150.101.23.134 --> 203.16.215.227 inet6 fe80::240:c7ff:fe99:3a7c%gif0 prefixlen 64 scopeid 0x6 metatron# ifconfig dc1 dc1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 150.101.23.134 netmask 0xfffffffc broadcast 150.101.23.135 inet6 fe80::240:c7ff:fe9a:1420%dc1 prefixlen 64 scopeid 0x2 inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:40:c7:9a:14:20 media: Ethernet autoselect (10baseT/UTP) status: active If I try and assign an IP to the tunnel I get.. metatron# ifconfig gif0 alias 150.101.23.134 netmask 255.255.255.255 ifconfig: ioctl (SIOCAIFADDR): Destination address required metatron# ifconfig gif0 150.101.23.134 netmask 255.255.255.255 ifconfig: ioctl (SIOCAIFADDR): Destination address required metatron# ifconfig gif0 150.101.23.134/32 203.16.215.227 ifconfig: ioctl (SIOCAIFADDR): File exists metatron# ifconfig gif0 alias 150.101.23.134/32 203.16.215.227 ifconfig: ioctl (SIOCAIFADDR): File exists -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
pgpoIVZ0e2A6c.pgp
Description: PGP signature