Toerless Eckert <Toerless.Eckert@xxxxxxxxxxxxxxxxxxxxxxxxxx> writes: > I am trying to understand if (and if so how) i can use LXC (or any > other comparable lightweightc container option) to effectively > run applications on a linux system with two separate IP interfaces > as if they each had only access to a single IP interface. > > Eg: > eth0 with address and default-router learned by DHCP > eg: address 10.1.1.2/24, default-router 10.1.1.254 > DNS prefix and DNS domain name for ether0 of course also learned by DHCP. > > eth1 with address and default-router learned by DHCP > eg: address 10.2.1.a/242, default-router 10.2.1.254 > DNS prefix and DNS domain name for ether0 of course also learned by DHCP. > > (no need for overlapping addresses). That sounds like L2 level isolation. ip link set eth1 netns XXXX. Will let move a network device to a choose network namespace. That is the easy trivial case. Most people don't have the multiple physical interfaces so tricky things have to happen. Does that sound like what you are looking for? Eric _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/containers