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

Re: Gated question



On Mon, 20 Dec 1999, Pete Templin wrote:

 : 
 : Anyone using gated?
 : 
 : I recently changed the subnet mask on some of my virtual interfaces, and
 : now I get tons of errors like this one:
 : 
 : Dec 20 12:05:56 alpha gated[28684]: task_set_option: task OSPF socket 7
 : option MulticastInterface(12) interface 216.136.28.76(eth0): Cannot assign
 : requested address
 : 
 : Any idea what it's supposed to mean, or how to fix?  
 : 
 : 
 : For reference, here's the key parts of /etc/init.d/network:
 : 
 : #! /bin/sh
 : ifconfig lo 127.0.0.1
 : route add -net 127.0.0.0 netmask 255.0.0.0
 : IPADDR=216.136.28.33
 : NETMASK=255.255.255.224
 : NETWORK=216.136.28.32
 : BROADCAST=216.136.28.63
 : #GATEWAY=216.136.28.62
 : ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
 : route add -net ${NETWORK}
 : [ "${GATEWAY}" ] && route add default gw ${GATEWAY} metric 1
 : 
 : # Virtual host addresses
 : ifconfig eth0:76 216.136.28.76 netmask 255.255.255.248 up
 : 
 : # Virtual host addresses
 : ifconfig eth0:77 216.136.28.77 netmask 255.255.255.248 up
 : 
 : # Virtual host addresses
 : ifconfig eth0:78 216.136.28.78 netmask 255.255.255.248 up
 : 
 : # Virtual host addresses
 : ifconfig eth0:79 216.136.28.79 netmask 255.255.255.248 up
 : 
 : ifconfig lo:254 192.168.254.1 netmask 255.255.255.255
 : 
 : /usr/local/sbin/gdc start
 : 
 : route add -host 216.136.28.76 dev eth0:76
 : route add -host 216.136.28.77 dev eth0:77
 : route add -host 216.136.28.78 dev eth0:78
 : route add -host 216.136.28.79 dev eth0:79
 : 
 : route add -net 127.0.0.0 netmask 255.0.0.0 dev lo

<disclaimer>
I don't run gated
</disclaimer>

Edit the gated conf and have it run on the IP assigned to eth0 (it's
trying to use the IP assigned to eth0:76 ?) or move the gated start line
after the "route add -host" statements. 

--
Nathan Norman
MidcoNet  410 South Phillips Avenue  Sioux Falls, SD
mailto:finn@midco.net           http://www.midco.net
finger finn@home.midco.net for PGP Key: (0xA33B86E9)



Reply to: