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

network_interfaces="xl0 xl1 lo0 gif0"

Mark Thomas
[EMAIL PROTECTED] 

-----Original Message-----
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 16, 2004 3:10 PM
To: [EMAIL PROTECTED]
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
[EMAIL PROTECTED] 
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to