FW: rc.conf/ifconfig issue

Mark Thomas mthomas at breakawayltd.com
Thu Sep 16 12:42:42 PDT 2004


To answer my own question, I also needed to add gif0 to network_interfaces:

network_interfaces="xl0 xl1 lo0 gif0"

Mark Thomas
mthomas at breakawayltd.com 

-----Original Message-----
From: Mark Thomas [mailto:mthomas at breakawayltd.com]
Sent: Thursday, September 16, 2004 3:10 PM
To: freebsd-questions at freebsd.org
Subject: rc.conf/ifconfig issue




Running 4.10-STABLE as of today. I have the following in /etc/rc.conf:

gif_interfaces="gif0"
gifconfig_gif0="A.B.C.D W.X.Y.Z"
ifconfig_gif0="inet 192.168.101.1 192.168.102.1 netmask 0xffffffff"

After a boot I see:
# ifconfig gif0

gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
        tunnel inet A.B.C.D --> W.X.Y.Z

I can then do:
# ifconfig gif0 inet 192.168.101.1 192.168.102.1 netmask 0xffffffff
# ifconfig gif0

gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
        tunnel inet 207.101.90.150 --> 207.101.90.148
        inet 192.168.101.1 --> 192.168.102.1 netmask 0xffffffff

Can anyone point out my stupidity in the rc.conf?

[Please cc me directly -- TIA]

Mark Thomas
mthomas at breakawayltd.com 


More information about the freebsd-questions mailing list