Re: startup scripts, network setup [message #6687 is a reply to message #6683] |
Thu, 21 September 2006 10:56 |
szocske
Messages: 35 Registered: September 2006
|
Member |
|
|
vass wrote on Thu, 21 September 2006 05:36 |
Well, I suppose the logic of man developers was something like that:
|
OK, OK, since then I realised I can't even write
VETH="veth$VEID.0 ... "
Quote: |
As concerns
Quote: |
This made me wonder: how wold you formulate a generic VETH= line, where some bytes of the MAC address are VEID-derived thus unique?
|
Sorry. I don't understand you quite. AFAIK MAC address for veth device can be set by user with hand, no relationship with VEID...
|
True.
But MAC addresses must be unique: this is the only reason for separate VEID.conf files in our setup.
I'd like to be able to write something like this:
VETH=" veth${VEID}.0,10.20.30.40.$VEID_LOWBYTE.$VEID_HIBYTE,eth0,10 .20.30.41.$VEID_LOWBYTE.$VEID_HIBYTE "
|
|
|