Howdy, Stranger!

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


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.

Hello everyone, how do I connect a bridge to v4tunnel on Debian10?

I tried a lot of methods, but they can't work. Can someone help me? Thank you!
I also communicated with the engineers at tunnelbroker, and they have not tried this.....

Comments

  • The solution will be the last method you haven't tried yet.

    Thanked by 1uptime
  • RickBakkrRickBakkr Patron Provider, LIR, Veteran

    You don't. (This) GRE is a L3 tunnel and hence cannot be bridged on L2, and even if you'd be having MTU trouble. You are better off just routing it forth and back.

    Thanked by 2rm_ uptime
  • @dahartigan said:
    The solution will be the last method you haven't tried yet.

    Hello, what is the solution?

  • @RickBakkr said:
    You don't. (This) GRE is a L3 tunnel and hence cannot be bridged on L2, and even if you'd be having MTU trouble. You are better off just routing it forth and back.

    Hello, what should I do? I don't know much about routing, but I just fill in bridge_ports with he-ipv6 and it prompts me for 'invalid parameters'

    Thank you ! :smile:

  • @flyqieqq said:

    @dahartigan said:
    The solution will be the last method you haven't tried yet.

    Hello, what is the solution?

    Potassium hydrochloride.

    Thanked by 1ITLabs
  • RickBakkrRickBakkr Patron Provider, LIR, Veteran

    flyqieqq said: Hello, what should I do? I don't know much about routing, but I just fill in bridge_ports with he-ipv6 and it prompts me for 'invalid parameters'

    Just use bridge_ports none, and set some random IP from your routed /48 (listed @ tunnelbroker.net) with netmask 48 as address on the bridge. This address will be the gateway for other hosts on the bridge who can use any other free IPv6 within the routed /48. Be sure to enable ip6_forwarding in sysctl. Easy as pie.

    Thanked by 1uptime
  • @RickBakkr said:

    flyqieqq said: Hello, what should I do? I don't know much about routing, but I just fill in bridge_ports with he-ipv6 and it prompts me for 'invalid parameters'

    Just use bridge_ports none, and set some random IP from your routed /48 (listed @ tunnelbroker.net) with netmask 48 as address on the bridge. This address will be the gateway for other hosts on the bridge who can use any other free IPv6 within the routed /48. Be sure to enable ip6_forwarding in sysctl. Easy as pie.

    Thank you! :smile:

  • dahartigan said: Potassium hydrochloride.

    This one?

  • @RickBakkr said:

    flyqieqq said: Hello, what should I do? I don't know much about routing, but I just fill in bridge_ports with he-ipv6 and it prompts me for 'invalid parameters'

    Just use bridge_ports none, and set some random IP from your routed /48 (listed @ tunnelbroker.net) with netmask 48 as address on the bridge. This address will be the gateway for other hosts on the bridge who can use any other free IPv6 within the routed /48. Be sure to enable ip6_forwarding in sysctl. Easy as pie.

    Hello, I am a newcomer to Linux. I tried it many times according to your method, but it has no effect. Can you give me some Linux commands? Thank you, I wish you a wonderful day. :smile:

  • RickBakkrRickBakkr Patron Provider, LIR, Veteran

    flyqieqq said: Can you give me some Linux commands?

    No. I have already provided you with specific enough instructions.

  • @RickBakkr said:

    flyqieqq said: Can you give me some Linux commands?

    No. I have already provided you with specific enough instructions.

    Ok, thank you for your help, I will continue to try, once I have a successful result, I will immediately update it in the post and leave it to others for reference. :smile:

  • @flyqieqq said:

    @RickBakkr said:

    flyqieqq said: Can you give me some Linux commands?

    No. I have already provided you with specific enough instructions.

    Ok, thank you for your help, I will continue to try, once I have a successful result, I will immediately update it in the post and leave it to others for reference. :smile:

    auto he-ipv6
    iface he-ipv6 inet6 v4tunnel
    address 2001:470:xxx:xxx::2
    netmask 64
    endpoint 64.62.xxx.xxx
    local [LOCAL ADDRESS]
    ttl 255
    gateway 2001:470:xxx:xxx::1
    post-up echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
    post-up echo 1 > /proc/sys/net/ipv6/conf/all/proxy_ndp
    #post-up /sbin/ip -f inet6 route add 2001:470:xxx:xxx::1 dev he-ipv6
    #post-up /sbin/ip -f inet6 route add default via 2001:470:xxx:xxx::1
    #pre-down /sbin/ip -f inet6 route del default via 2001:470:xxx:xxx::1
    #pre-down /sbin/ip -f inet6 route del 2001:470:xxx:xxx::1 dev he-ipv6

    auto br1
    iface br1 inet6 static

    This is your client gateway address!!!!

    address 2001:470:xxxx:xxx::2
    netmask 48

    gateway 2001:470:xxx:xxx::1

    bridge_ports none
    bridge_fd 0
    bridge_maxwait 0

    This works for me! Thank! :smile:

    Thanked by 1ErawanArifNugroho
  • Do you copy paste the /etc/network/interfaces ?

    How about using the Code function on the comment box, so not mess with the config :)

    code

    Thanked by 1RickBakkr
  • flyqieqqflyqieqq Member
    edited October 2019

    auto he-ipv6
    iface he-ipv6 inet6 v4tunnel
    address 2001:470:xxx:xxx::2
    netmask 64
    endpoint 64.62.xxx.xxx
    local (LOCAL ADDRESS)
    ttl 255
    gateway 2001:470:xxx:xxx::1
    post-up echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
    post-up echo 1 > /proc/sys/net/ipv6/conf/all/proxy_ndp
    #post-up /sbin/ip -f inet6 route add 2001:470:xxx:xxx::1 dev he-ipv6
    #post-up /sbin/ip -f inet6 route add default via 2001:470:xxx:xxx::1
    #pre-down /sbin/ip -f inet6 route del default via 2001:470:xxx:xxx::1
    #pre-down /sbin/ip -f inet6 route del 2001:470:xxx:xxx::1 dev he-ipv6

    auto br1
    iface br1 inet6 static
    #This is your client gateway address!!!!
    address 2001:470:xxxx:xxx::2
    netmask 48
    bridge_ports none
    bridge_fd 0
    bridge_maxwait 0`

    Thanked by 1ErawanArifNugroho
Sign In or Register to comment.