Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2004 15:10:11 -0400
From:      "Mark Thomas" <mthomas@breakawayltd.com>
To:        <freebsd-questions@freebsd.org>
Subject:   rc.conf/ifconfig issue
Message-ID:  <KOEILOHHAMNABNLJONMMEENJHCAA.mthomas@breakawayltd.com>

next in thread | raw e-mail | index | archive | help


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@breakawayltd.com 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?KOEILOHHAMNABNLJONMMEENJHCAA.mthomas>