Jump to content

hunterson

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by hunterson

  1. 3 hours ago, ich777 said:

    Is it now working?

     

    I don't understand your post entirely...

     

    You can configure it how you want, the example above was just how it could be done.

    Sorry,I mean It's well done. that's the right way to create the second NIC . But PPPoE dialing seemed not a easy thing,  a kernel problem met.

  2. On 2/7/2024 at 10:05 PM, ich777 said:
    # Network configuration for second NIC
    lxc.net.1.type = veth
    lxc.net.1.flags = up
    lxc.net.1.link = eth1
    lxc.net.1.name = eth1
    lxc.net.1.hwaddr=AVALIDMACADDRESS

    Thks,
    I tried it over.
    First, eth1 should be setted to bridge ,then br1 showed up,config as follows:
    lxc.net.1.type = veth
    lxc.net.1.flags = up
    lxc.net.1.link = br1
    lxc.net.1.name = eth1
    it's done.
    Or, config as below:
    lxc.net.1.type = phys
    lxc.net.1.flags = up
    lxc.net.1.link = eth1
    lxc.net.1.name = eth1
    It's done again.

     

     

  3. Good job.I'm new to this ,I created an OpenWrt lxc container,replaced with my build, running good on 6.11.5 unraid. 
    My unraid has eth0 and eth1,how can I add eth1 to OpenWrt which could be anble to create other interface to dial ?

    cgroupv2 enabled.

×
×
  • Create New...