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

next in thread | raw e-mail | index | archive | help
To answer my own question, I also needed to add gif0 to network_interfaces:

network_interfaces="xl0 xl1 lo0 gif0"

Mark Thomas
mthomas@breakawayltd.com 

-----Original Message-----
From: Mark Thomas [mailto:mthomas@breakawayltd.com]
Sent: Thursday, September 16, 2004 3:10 PM
To: freebsd-questions@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@breakawayltd.com 



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