[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 00240) Manual configuration of sit0



Hello all,

When the sit0 device is brought up, it automatically adds IPv4-compatible
addresses to itself from all other interfaces.  While this seems
convenient initally, it creates problems for devices with multiple
interfaces and IP addresses.  For example, I have a box with six addresses
on the dummy0 interface that are used for redirecting connections through
a VPN.  I don't want all those addresses on sit0.

Also, machines with dynamic addresses via either DHCP or PPP do not get
the IPv4-compatible addresses on sit0 updated when the IPv4 address
changes on the original interface.

I made a few modifications to addrconf.c that skip the sit0 autoconfig
when the sysctl net.ipv6.conf.default.autoconf is set to 0, but is this
the best way to do it?  Could we get something like this integrated into
the USAGI codebase?  -Nathan

-- 
+-------------------+---------------------+------------------------+
| Nathan Lutchansky | lutchann@xxxxxxxxxx |  Lithium Technologies  |
+------------------------------------------------------------------+
|  I dread success.  To have succeeded is to have finished one's   |
|  business on earth...  I like a state of continual becoming,     |
|  with a goal in front and not behind. - George Bernard Shaw      |
+------------------------------------------------------------------+