rc.conf/ifconfig issue
Mark Thomas
mthomas at breakawayltd.com
Thu Sep 16 12:14:00 PDT 2004
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