LAN Interfaces - · PDF fileLAN Interfaces R6.3 v01 Vyatta vii Pseudo‐Ethernet Interface...
Transcript of LAN Interfaces - · PDF fileLAN Interfaces R6.3 v01 Vyatta vii Pseudo‐Ethernet Interface...
VyattaSuite200
1301ShorewayRoadBelmont,CA94002
vyatta.com6504137200
1888VYATTA1(USandCanada)
VYATTA,INC.| VyattaSystem
LANInterfacesREFERENCEGUIDEEthernetInterfacesLoopbackInterfacesVLANInterfacesBridgingEthernetLinkBondingPseudoEthernetInterfacesWirelessInterfacesInputInterface
COPYRIGHTCopyright20052011Vyatta,Inc.Allrightsreserved.
Vyattareservestherighttomakechangestosoftware,hardware,anddocumentationwithoutnotice.Forthemostrecentversionofdocumentation,visittheVyattawebsiteatvyatta.com.
PROPRIETARYNOTICESVyattaisaregisteredtrademarkofVyatta,Inc.
VMware,VMwareESX,andVMwareserveraretrademarksofVMware,Inc.
XenServer,andXenCenteraretrademarksofCitrixSystems,Inc.
Allothertrademarksarethepropertyoftheirrespectiveowners.
RELEASEDATE:July2011
DOCUMENTREVISION.R6.3v01
RELEASEDWITH:R6.3.0
PARTNO.A00211100012
iii
TableofContents
QuickReferencetoCommands ......................................................................ix
QuickListofExamples............................................................................xiii
Preface.........................................................................................xv
IntendedAudience ......................................................................................... xvi
OrganizationofThisGuide ................................................................................... xvi
DocumentConventions ..................................................................................... xvii
VyattaPublications ........................................................................................ xviii
Chapter1 EthernetInterfaces ...................................................................... 1
EthernetInterfaceConfiguration................................................................................2
EthernetInterfaceCommands..................................................................................3
clearinterfacesethernetcounters ..........................................................................5
interfacesethernet ................................................................................6
interfacesethernetaddress .........................................................................8
interfacesethernetdescription ..............................................................10
interfacesethernetdhcpv6options ..................................................................11
interfacesethernetdisable .........................................................................13
interfacesethernetdisablelinkdetect ...............................................................14
interfacesethernetduplex ...............................................................15
interfacesethernethwid ...............................................................17
interfacesethernetipenableproxyarp ..............................................................19
interfacesethernetmac .................................................................21
interfacesethernetmirror ...............................................................23
interfacesethernetmtu .....................................................................25
interfacesethernetredirect..............................................................27
interfacesethernetsmp_affinity ....................................................................29
interfacesethernetspeed ..................................................................31
showinterfacesethernet .................................................................................33
showinterfacesethernetdetail ...........................................................................35
LANInterfaces R6.3v01 Vyatta
iv
showinterfacesethernetbrief ......................................................................37
showinterfacesethernetcapture ...................................................................38
showinterfacesethernetidentify ...................................................................40
showinterfacesethernetphysical ...................................................................41
showinterfacesethernetqueue.....................................................................42
showinterfacesethernetstatistics...................................................................43
Chapter2 LoopbackInterface ..................................................................... 45
LoopbackCommands........................................................................................46
clearinterfacesloopbackcounters .........................................................................47
interfacesloopbacklo ...................................................................................48
interfacesloopbackloaddress ............................................................................50
interfacesloopbacklodescription ..................................................................52
showinterfacesloopback ................................................................................53
showinterfacesloopbackdetail ...........................................................................55
showinterfacesloopbacklobrief ..........................................................................56
Chapter3 VLANInterfaces........................................................................ 57
VLANInterfaceCommands ...................................................................................58
interfacesbondingvif....................................................................61
interfacesbondingvifaddress ............................................................63
interfacesbondingvifdescription ..................................................65
interfacesbondingvifdhcpv6options ......................................................67
interfacesbondingvifdisable.............................................................69
interfacesbondingvifdisablelinkdetect ...................................................71
interfacesethernetvif.....................................................................73
interfacesethernetvifaddress .............................................................75
interfacesethernetvifdescription ...................................................77
interfacesethernetvifdhcpv6options .......................................................79
interfacesethernetvifdisable..............................................................81
interfacesethernetvifdisablelinkdetect ....................................................83
interfacesethernetvifipenableproxyarp ...................................................85
interfaceswirelessvif ....................................................................87
interfaceswirelessvifaddress .............................................................89
interfaceswirelessvifdescription ...................................................91
interfaceswirelessvifdhcpv6options ......................................................93
interfaceswirelessvifdisable .............................................................95
interfaceswirelessvifdisablelinkdetect....................................................97
showinterfacesbondingvif...............................................................99
showinterfacesbondingvifbrief........................................................ 101
showinterfacesbondingvifqueue ....................................................... 102
showinterfacesethernetvif.............................................................. 103
showinterfacesethernetvifbrief......................................................... 105
LANInterfaces R6.3v01 Vyatta
v
showinterfacesethernetvifqueue ........................................................ 106
Chapter4 Bridging ............................................................................. 108
BridgingConfiguration ..................................................................................... 109
BridgingOverview..................................................................................... 109
BasicBridgingConfiguration ............................................................................ 109
BridgingAcrossaWANUsingaGRETunnel ................................................................ 111
Configure WEST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Configure EAST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113BridgingAcrossaWANUsingaGRETunneloverIPsecVPN................................................... 113
Configure WEST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Configure EAST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118BridgingAcrossaWANUsingSitetoSiteOpenVPN ......................................................... 120
Configure WEST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Configure EAST . . . . . . . . . . . . . . . . . .