Results 1 to 2 of 2

Thread: question about setting IPv6 address and default gateway

  1. #1
    Join Date
    Jul 2021
    Beans
    1

    question about setting IPv6 address and default gateway

    Hey,

    I am setting IPv6 address on my computer like this
    Code:
    sudo ip -6 addr add 2408:8509:1880:3526:1695:7f07:d3bc:c307/128 dev tun_srsue
    . After this, when I setting default gateway
    Code:
    sudo ip -6 route add default via 2408:8509:1880:3526:1695:7f07:d3bc:c307 dev tun_srsue
    , it reports "Error: Gateway can not be a local address." How can I solve this? Many thanks!

  2. #2
    Join Date
    Aug 2021
    Beans
    1

    Re: question about setting IPv6 address and default gateway

    The address ending c307 is presumably one given to you for your machine. You should also have been given a different address for the gateway - possibly fe80::1.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •