Re: bridge with netctl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Op 6 mrt. 2014 14:15 schreef "Thomas Bächler" <thomas@xxxxxxxxxxxxx> het
volgende:
>
> Am 06.03.2014 14:03, schrieb arnaud gaboury:
> > Dear list,
> >
> > I am running a machine "hortensia" with a container "dahlia". As the
> > container will be a server, I want to have one IP for hortensia and
> > another one for dahlia.
> >
> > On hortensia, with dhcpcd.service and systemd-networkd both disabled,
> > I start at boot two netctl profiles.
[...]
>
> 1) You create a bridge with no ports. What purpose does it serve?
> 2) If you want to add enp7s0 as a port, why do you have a configuration
> for enp7s0? If an interface is a bridge port, it cannot be used for IP
> traffic, so assigning it an IP is pointless.

In fact: make enp7so a port of br0 and then you can use the bridge as the
network interface for Hortensia. For either static or dhcp: use the bridge
device.

Ip forwarding: a bridge is a OSI layer 2 device, not a router, so ip
forwording can be turned off (Ip is layer 3).

As for Dahlia; i don't know exactly how containers work in Linux, but i
guess you'll need to configure some virtual network device and then add
that to the bridge.
My best guess would be to look up how this is done with LXC.

mvg, Guus


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux