User's Manual Part 2
28JadeOSUserManual
Chapter6 Layer‐3 Network Service
JadeOSprovideslayer‐3networkservice.Thischapterwilldescribehowtoconfigure
IPaddress,staticrouting,GREtunnel,DHCP,OSPF,andIPv6andsoon.
6.1ConfiguringIPAddress
6.1.1ConfiguringIPAddress
Usethefollowing commandstoassignastaticIPaddresstoaportonJadeOS:
interface gigabitethernet <slot>/<port>
no switchport
ip address <address><netmask>
6.1.2ConfiguringLoopback
TheloopbackIPaddressisalogicalIPinterfacethatisusedbyJadeOStocommuni‐
catewithAPs.TheloopbackaddressisusedasJadeOS’sIPaddressforterminating
VPNandGREtunnels,originatingrequeststoRADIUSserversandacceptingadminis‐
trativecommunications.Youconfiguretheloop backaddressasahostaddresswitha
32‐bitnetmask.Theloopbackaddressisnotboundtoanyspecificinte rfaceandis
operationalatalltimes.Tousethisinterface,ensurethattheIPaddressisreachable
throughoneoftheVLANinterfaces.Itshouldberoutablefromallexternalnetworks.
ToconfiguretheloopbackIPaddress,usethefollowingcommands:
interface loopback <id>
ip address <address><mask>
6.2ConfiguringStaticRoutingTable
6.2.2ConfiguringStaticRouting
Toconfigurestaticrouting,usefollowingcommand:
ip route <subnet>/<prefix-length> <gateway>
Forexample:
(JadeOS) (config)#ip route 10.0.0.0/24 192.168.10.1
6.2.2InquiringRoutingTable
Toinquirysystemroutingtable,includingdirectroutingandstaticconfiguringrout‐
ing,useshowiproutecommand.
(JadeOS) #show ip route