Hi.

Here it is:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

auto eth0
#auto eth1
#auto eth2
auto eth3

auto vlan8
iface vlan8 inet static
address 10.255.8.1
netmask 255.255.255.252
vlan-raw-device eth0

auto vlan5
iface vlan5 inet static
address 10.255.5.1
netmask 255.255.255.0
vlan-raw-device eth0

auto vlan4
iface vlan4 inet static
address 10.255.4.1
netmask 255.255.255.0
vlan-raw-device eth3
###


30 июля 2018, 17:14:10, от "Dan Ritter" <d...@randomstring.org>:

On Mon, Jul 30, 2018 at 03:55:52PM +0300, Алексей wrote:
> Hi!
> 
> I need an advice about how can I set the MTU on the interface which is not in 
> fact configured. So to explain in more detail:
> 
> I have a debian box acting as a router and it has interface let's say eth0. 
> Eth0 itself doesn't have any IP configuration, all IP configuration and 
> routing is done on vlan interfaces bound to eth0. I need to route jumbo 
> frames so I need to set the MTU on vlan interfaces to 9000 and consequently I 
> need to set MTU to 9000 on the physical eth0 also. However, as i have only 
> one line for eth0 in /etc/network/interfaces:
> 
> auto eth0
> 
> I can't set the MTU in the eth0 configuration. I can probably write a pre-up 
> directive in the configuraion of the first vlan interface however I'm not 
> sure if this is correct way. Probably someone can advice better one?
> 

Please show us your entire /etc/network/interfaces.

-dsr-

Reply via email to