1 |
Apparently, though unproven, at 17:15 on Monday 24 January 2011, Amar Cosic |
2 |
did opine thusly: |
3 |
|
4 |
> Hello list |
5 |
> |
6 |
> My mind is just "locked" at the moment and I am trying to figure out what |
7 |
> am I doing wrong here. I have 4 static IP's on server machine and I have |
8 |
> something like this in /etc/conf.d/net : |
9 |
> |
10 |
> |
11 |
> |
12 |
> config_eth0=( "77.xxx.104.14/24" ) |
13 |
> routes_eth0=( "default via 77.xxx.104.1" ) |
14 |
> config_eth0:1=( "77.xxx.104.100/24" ) |
15 |
> routes_eth0:1=( "default via 77.xxx.104.1" ) |
16 |
> config_eth0:2=( "77.xxx.104.101/24" ) |
17 |
> routes_eth0:2=( "default via 77.xxx.104.1" ) |
18 |
> config_eth0:3=( "77.xxx.105.100/24" ) |
19 |
> routes_eth0:3=( "default via 77.xxx.105.1" ) |
20 |
> |
21 |
> |
22 |
> eth0 works just fine while other ones fail. Could you help me with this one |
23 |
|
24 |
You have aliased three additional IPs to a NIC. You cannot add routes to those |
25 |
aliases, only individual IP addresses. |
26 |
|
27 |
You will either have to come up with a routing scheme that routes_eth0 fully |
28 |
satisfies or pony up the cash for three NIC cards. |
29 |
|
30 |
I'd go for option 2 - NICs are dirt cheap. |
31 |
|
32 |
|
33 |
-- |
34 |
alan dot mckinnon at gmail dot com |