vyos@vyos# show
interfaces {
ethernet eth0 {
address dhcp
hw-id c8:1f:66:d0:35:39
}
ethernet eth1 {
hw-id c8:1f:66:d0:35:3a
}
ethernet eth2 {
hw-id c8:1f:66:d0:35:3b
}
ethernet eth3 {
address 192.168.1.1/24
hw-id c8:1f:66:d0:35:3c
}
ethernet eth4 {
hw-id 14:02:ec:8a:41:3c
}
ethernet eth5 {
disable-flow-control
hw-id 14:02:ec:8a:41:3d
}
ethernet eth6 {
hw-id e4:1d:2d:14:f6:20
}
ethernet eth7 {
vif 55 {
address 10.3.113.205/24
}
vif 538 {
address 100.100.100.11/24
address 103.163.36.19/31
}
vif 2201 {
address 103.163.36.7/31
}
}
loopback lo {
address 103.163.36.201/29
}
}
nat {
source {
rule 10 {
outbound-interface {
name eth0
}
translation {
address masquerade
}
}
rule 20 {
outbound-interface {
name eth7.55
}
translation {
address masquerade
}
}
rule 30 {
outbound-interface {
name eth7.2201
}
translation {
address masquerade
}
}
rule 40 {
outbound-interface {
name eth7.538
}
translation {
address masquerade
}
}
}
}
protocols {
static {
route 0.0.0.0/0 {
next-hop 103.163.36.18 {
}
}
route 10.1.55.1/32 {
next-hop 10.3.113.254 {
}
}
route 10.3.0.0/16 {
next-hop 10.3.113.254 {
}
}
route 10.13.137.106/32 {
next-hop 10.3.113.1 {
}
}
route 103.163.36.128/26 {
next-hop 103.163.36.6 {
}
}
route 103.163.36.216/29 {
next-hop 103.163.36.6 {
}
}
}
}
service {
dns {
}
ntp {
allow-client {
address 0.0.0.0/0
address ::/0
}
server time1.vyos.net {
}
server time2.vyos.net {
}
server time3.vyos.net {
}
}
ssh {
port 22
}
}
system {
config-management {
commit-revisions 100
}
conntrack {
modules {
ftp
h323
nfs
pptp
sip
sqlnet
tftp
}
}
console {
device ttyS0 {
speed 115200
}
}
host-name vyos
login {
user vyos {
authentication {
encrypted-password $6$QxPS.uk6mfo$9QBSo8u1FkH16gMyAVhus6fU3LOzvLR9Z9.82m3tiHFAxTtIkhaZSWssSgzt4v4dGAL8rhVQxTg0oAG9/q11h/
plaintext-password ""
}
}
}
name-server 8.8.8.8
syslog {
global {
facility all {
level info
}
facility local7 {
level debug
}
}
}
}
[edit]
vyos@vyos#
[edit]
vyos@vyos# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 103.163.36.19 icmp_seq=1 Destination Host Unreachable
From 103.163.36.19 icmp_seq=2 Destination Host Unreachable
From 103.163.36.19 icmp_seq=3 Destination Host Unreachable
From 103.163.36.19 icmp_seq=4 Destination Host Unreachable
From 103.163.36.19 icmp_seq=5 Destination Host Unreachable
From 103.163.36.19 icmp_seq=6 Destination Host Unreachable
From 103.163.36.19 icmp_seq=7 Destination Host Unreachable
From 103.163.36.19 icmp_seq=8 Destination Host Unreachable
From 103.163.36.19 icmp_seq=9 Destination Host Unreachable
From 103.163.36.19 icmp_seq=10 Destination Host Unreachable
From 103.163.36.19 icmp_seq=11 Destination Host Unreachable
From 103.163.36.19 icmp_seq=12 Destination Host Unreachable
From 103.163.36.19 icmp_seq=13 Destination Host Unreachable
From 103.163.36.19 icmp_seq=14 Destination Host Unreachable
From 103.163.36.19 icmp_seq=15 Destination Host Unreachable
^C
--- 8.8.8.8 ping statistics ---
16 packets transmitted, 0 received, +15 errors, 100% packet loss, time 15377ms
pipe 4
[edit]
vyos@vyos# exit
exit
vyos@vyos:~$ show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
S>* 0.0.0.0/0 [1/0] via 103.163.36.18, eth7.538, weight 1, 00:11:13
S>* 10.1.55.1/32 [1/0] via 10.3.113.254, eth7.55, weight 1, 00:11:13
S>* 10.3.0.0/16 [1/0] via 10.3.113.254, eth7.55, weight 1, 00:11:13
C>* 10.3.113.0/24 is directly connected, eth7.55, 00:11:13
S>* 10.13.137.106/32 [1/0] via 10.3.113.1, eth7.55, weight 1, 00:11:13
C>* 100.100.100.0/24 is directly connected, eth7.538, 00:11:13
C>* 103.163.36.6/31 is directly connected, eth7.2201, 00:11:13
C>* 103.163.36.18/31 is directly connected, eth7.538, 00:11:13
S>* 103.163.36.128/26 [1/0] via 103.163.36.6, eth7.2201, weight 1, 00:11:13
C>* 103.163.36.200/29 is directly connected, lo, 1d03h57m
S>* 103.163.36.216/29 [1/0] via 103.163.36.6, eth7.2201, weight 1, 00:11:13
C>* 192.168.1.0/24 is directly connected, eth3, 03:10:45
vyos@vyos:~$
help please
MOD Edit: Formatted output to be readable.