Linux ip komutları
Home » GNU/Linux  »  Linux ip komutları
Linux ip komutları
& Linux IP Command Examples ip route display all routes ip route show default display default route ip route flush dev eth0 remove all routes for eth0 ip route get 1.1.1.1 show a route matched with 1.1.1.1 ip route show 1.1.1.0/24 show a route entry For destination 1.1.1.0/24 Created by ip route add 1.1.1.0/24 dev eth0 add a route entry for 1.1.1.0/24 via eth0 ip route add default via 192.168.0.1 dev eth0 add the default gateway on Instagram ip route add/del 1.1.1.0/24 via 192.168.0.1 add/remove a route entry via a next hop ip route replace 1.1.1.0/24 via 192.168.1.1 dev eth0 replace a route entry for 1.1.1.0/24 ip route add 1.1.1.0/24 via 192.168.1.1 dev eth0 metric 100 specify a metric value Manage arp neighbors display all arp entries in arp table 0 display arp entries for eth0 only remove arp entry permanent add static arp entry flush all arp entries for specific subnet tunnel: manage tunnels ip tunnel show display all configured tunnel interfaces ip tunnel add gre1 mode gre remote 10.0.0.2 local 10.0.0.1 ttl 255 create a GRE tunnel