Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


bridge two different network
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

bridge two different network

imgmoneyimgmoney Member
edited April 2023 in Help

Hi All,

image

Considering the node got the IP assigned 10.1.0.2, I want to reach the IP 10.0.0.3. It is not possible now. Can somebody help with what needs to be done?

I am trying to make Hetzner vSwitch IP addresses accessible to another range of IP addresses available in another NIC on the same machine.

eth1.4001 and eth0, need to be accessible each other.

Comments

  • netomxnetomx Moderator, Veteran

    Debian?

  • Nope, talos

  • RickBakkrRickBakkr Member, Patron Provider, LIR

    Why exactly do two irrelated network interfaces need to be bridged? If they are using conflicting subnets, you might want to renumber one of them.

  • imgmoneyimgmoney Member
    edited April 2023

    This is my setup

    Hetzner Cloud (control-plane) has two interfaces.

    eth0 - for public IP
    eth1 - LAN, Subnet 10.0.0.0/16. also, I have vSwtich from Hetzner Bare Metal

    Hetzner Baremetal (workers) have three interfaces

    eth0 - 10Gbit LAN, Subnet 10.1.0.0/16
    eth1 - for public IP
    eth1.4001 - share the same subnet from Hetzner Cloud eth1, 10.0.1.0/24

    The only connectivity between the Hetzner Cloud and Hetzner Baremetal is vSwitch

    My requirement is

    Control Plane communicates to Workers via eth1 <-> eth1.4001
    Workers to Workers via eth0 <-> eth0, and so they use 10Gbits LAN

    I have made the DHCP network in Hetzner Cloud and tried the following.

           - interface: eth0
              dhcp: true
            - interface: eth1
              dhcp: true
              routes:
                - network: 10.1.0.0/16
                  gateway: 10.0.0.1
                  metric: 100
    

    And in Hetzner Baremetal

             - interface: eth0
              dhcp: false
              addresses:
                - 10.1.0.2/24
              routes:
                - network: 10.1.0.0/16
                  gateway: 10.1.0.1
                  metric: 100
              mtu: 9000
            - interface: eth1
              dhcp: true
              vlans:
                - vlanId: 4001
                  addresses:
                    - 10.0.1.2/24
                  mtu: 1400
                  routes:
                    - network: 10.0.0.0/16
                      gateway: 10.0.1.1
                      metric: 100
    

    Currently, I am using the following settings, pods among workers' nodes cannot communicate with each other. I think a bridge won't be helpful here as bridging the eth1.4001 with eth0 will reduce the port speed to 1Gbits.

    I want pods from workers to communicate using eth0

Sign In or Register to comment.