Answer the question
In order to leave comments, you need to log in
Debian 9.4: why doesn't the gre tunnel come up on system startup?
In /etc/networking/interfaces I made the following entry:
auto tun1
iface tun1 inet static
address 192.168.10.1
netmask 255.255.255.0
broadcast 192.168.10.255
up ifconfig tun1 multicast
pre-up modprobe ip_gre
pre-up iptunnel add tun1 mode gre local 212.47.xx remote 212.12.xx ttl 255
pointopoint 192.168.10.2
post-down iptunnel del tun1
After the system boots, there is no tun1 in the list of interfaces. But if you manually do something like
ip tunnel add tun1 mode gre remote 212.12.xx local 212.47.xx ttl 255
ip link set tun1 up
ip addr add 192.168.10.1/24 dev tun1
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question