hmm.. that something new.. where i can see description of this new syntax ?!!
|[EMAIL PROTECTED] ha scritto: | |>hi, |> |>in /etc/conf.d/net I have in alias_eth0 : |>around ~20 aliases |> |>alias_eth0="x.x.x.x ...... y.y.72.0 y.y.73.0 y.y.74.0 .... x.x.x.x" |> |>it creates these interfaces with netmask 255.255.0.0 and as consequense it |>inserst a route to y.0.0.0/8 instead of three routes to these 3 networks.. |>any solution ? |> |> |> |I'm not sure to understund your question, so I simply post one net.eth0 |config that has multiple aliases on multiple networks with multiple path ;) | |modules=( "iproute2" ) | |ipaddr_eth0=( | "192.168.1.100/24" | "192.168.1.101/24" | "192.168.1.102/24" | | "192.168.2.100/24" | "192.168.2.101/24" | "192.168.2.102/24" | | "192.168.3.100/24" | "192.168.3.101/24" | "192.168.3.102/24" |) | |iproute_eth0=( | "to 192.168.21.0/24 via 192.168.2.1" | "to 192.168.22.0/24 via 192.168.3.1" | "default via 192.168.1.1" |) | | |you need to emerge sys-apps/iproute2 to make it work | |-- |[email protected] mailing list | | -- [email protected] mailing list
