Skip to content

Instantly share code, notes, and snippets.

@osyoyu
Created August 7, 2017 18:57
Show Gist options
  • Save osyoyu/e148c9508f819886db1ae4ff6bb204d9 to your computer and use it in GitHub Desktop.
Save osyoyu/e148c9508f819886db1ae4ff6bb204d9 to your computer and use it in GitHub Desktop.
EdgeRouter X config
show interfaces
ethernet eth0 {
description "Internet (ONU)"
dhcpv6-pd {
no-dns
pd 0 {
interface switch0 {
host-address ::1
prefix-id 2
service slaac
}
prefix-length 60
}
prefix-only
rapid-commit disable
}
duplex auto
firewall {
in {
name WAN_IN
}
local {
name WAN_LOCAL
}
}
ipv6 {
address {
autoconf
}
dup-addr-detect-transmits 1
}
speed auto
}
ethernet eth1 {
description Local
duplex auto
speed auto
}
ethernet eth2 {
description Local
duplex auto
speed auto
}
ethernet eth3 {
description Local
duplex auto
speed auto
}
ethernet eth4 {
description Local
duplex auto
speed auto
}
ipv6-tunnel v6tun0 {
description "Internet Multifeed"
encapsulation ipip6
local-ip hoge::fuga
mtu 1500
multicast disable
remote-ip 2404:8e00::feed:100
ttl 64
}
loopback lo {
}
switch switch0 {
address 192.168.62.1/24
description Local
mtu 1500
switch-port {
interface eth2 {
}
interface eth3 {
}
vlan-aware disable
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment