>
> ifconfig wan0:0 aaa.bbb.ccc.ddd netmask 255.255.255.255 broadcast
> 255.255.255.255
> route add -host 192.168.104.1 dev wan0:0 # l1
> route add default gw 192.168.104.1 dev wan0:0 # x1
> route del -host 192.168.104.1 dev wan0:0 # l2
I think I kind of understand where this is going. Thank you for your
patience. If you could help me understand one more part I think I will have
it. The part I don't understand is what IP to assign to the alias. Here is
my complete config:
subnet 166.66.66.192
mask 166.66.66.224
Gateway 166.66.66.193 <- eth0
Wan0 192.168.104.2 <- Wan0
Other hosts 166.66.66.194-222
What is the address that I would assign to wan0:0?
>
> l1 and l2 are only needed because route seems not to accept a
> gateway route
> over a special device if there is no route to the gateway to that device.
> I don't know if it is the kernel or route itself which does this
> check - but
> adding a host route and then deleting it works for us.
>
> With the above: if a application lets choose the kernel the ip-address
> it will use aaa.bbb.ccc.ddd if the default route applies.
>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]