What's new

Help with network command lines

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

surfing10

New Around Here
Hi all,
I need to recreate the ethernet interfaces from my Dlink to the Asus AC68U router.

So what I have today is:

Fiber -> ONT -> Dlink -> PC & TV

WAN1 - PPPoE
VLAN 10 - Pri 0
Dynamic IP address
MTU 1492
NAT Enable

WAN2 - Static
VLAN 20 - Pri 3
IP Address: 10.xxx.xxx.xxx, Mask: 255.255.128.0, Gateway: 10.xxx.xxx.xxx
MTU 1500
NAT Enable
IGMP Proxy Enable

I have enable VLAN on the Asus GUI, but I can't find this information using the command line.

This is my ip link show today:
Code:
admin@RT-AC68U:/tmp/etc# ip link show
1: lo: <LOOPBACK,MULTICAST,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
    link/ether 40:16:7e:30:df:78 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
    link/ether 40:16:7e:30:df:78 brd ff:ff:ff:ff:ff:ff
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
    link/ether 40:16:7e:30:df:7c brd ff:ff:ff:ff:ff:ff
5: vlan1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
    link/ether 40:16:7e:30:df:78 brd ff:ff:ff:ff:ff:ff
7: vlan10@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
    link/ether 40:16:7e:30:df:78 brd ff:ff:ff:ff:ff:ff
8: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether 40:16:7e:30:df:78 brd ff:ff:ff:ff:ff:ff

How do I recreate that using ip link set correctly?

What is these interfaces: eth0, eth1 and eth2? Which one is LAN and WAN?
I have vlan1 and vlan10. Why?? Why not VLAN10 and VLAN 20? I did this on the LAN -> IPTV settings.

Other strange thing is the Static Route settings. I did create (in LAN -> Route) 8 static routes and I can't see them in command line. What is the correct command line to show that? With ip route show I can't see.

Thanks
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top