亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? interfaces.tex

?? xorp源碼hg
?? TEX
字號:
%% $XORP: xorp/docs/user_manual/interfaces.tex,v 1.12 2007/03/14 01:07:01 pavlin Exp $%\chapter{Network Interfaces}\label{interfaces}\section{Network Interfaces Terminology and Concepts}A router receives packets via its network interfaces from itsneighboring routers.  Some of those packets will be destined for therouter itself, but most of then will normally be forwarded on viaanother network interface to another router or to locally connectedhosts.There are many different types of network interface, such as Ethernet,ATM, DS3, or ISDN.  Sometimes the underlying physical interface willneed explicit configuration before it can establish a link, andsometimes the link requires no configuration.  In addition, somenetwork interfaces behave from a routing point of view as if they werereally multiple interfaces, in that the router may have to forwardpackets between different ``channels'' on the same interface.  We choose to distinguish in a XORP router between physical interfaces(which we call {\it interfaces}, and logical interfaces, which we callvirtual interfaces or {\it vifs}.  An example of a {\it interface}might be an Ethernet card.  An example of a {\it vif} might be one ofmany VLANs configured on that Ethernet\footnote{Currently (March 2007),VLANs are not supported in XORP.}.Conceptually, XORP routes packets between vifs.  Thus it is also vifsthat are given IP addresses.  Each interface may contain many vifs.Conversely every vif is always part of an interface, although someinterfaces such as the loopback interface do not have a physicalrealisation.The XORP naming convention for vifs is that they are named as theywould be in the underlying forwarding path.  For example, if theforwarding path is implemented in the FreeBSD kernel, then {\stt fxp0}might denote a 100-base-T Ethernet vif (with no VLAN).  On a routerusing Linux as the forwarding path, the same vif might be called {\stteth0}.  If a physical interface cannot support multiple vifs, or if there's adefault vif on a physical interface, then the interface name and thevif name will normally be the same.  Again, this is determined by theunderlying forwarding path.  A common example would be Ethernetwithout VLANs, where the interface and vif might both be named {\sttfxp0} on FreeBSD or both called {\stt eth0} on Linux.\newpage\section{Configuring Network Interfaces}A XORP router will only use interfaces that it has been explicitlyconfigured to use. For protocols such as RIP that are explicitly awareof interfaces, only configured interfaces will be used.  Even forprotocols such as BGP that don't directly associate peerings withinterfaces, if the next-hop router for a routing entry is not througha configured interface, the route will not be installed.\subsection{Configuration Syntax}The available configuration syntax for network interfaces andaddresses is as follows:\vspace{0.1in}\noindent\framebox[\textwidth][l]{\scriptsize\begin{minipage}{6in}\begin{alltt}\begin{tabbing}xx\=xx\=xx\=xx\=xx\=\killinterfaces \{\\\>restore-original-config-on-shutdown: {\it bool}\\\>interface {\it text} \{\\\>\>description: {\it text}\\\>\>mac: {\it macaddr}\\\>\>mtu: {\it uint}\\\>\>default-system-config\\\>\>disable: {\it bool}\\\>\>vif {\it text} \{\\\>\>\>disable: {\it bool}\\\>\>\>address {\it IPv4-addr} \{\\\>\>\>\>prefix-length: {\it int(1..32)}\\\>\>\>\>broadcast: {\it IPv4-addr}\\\>\>\>\>destination: {\it IPv4-addr}\\\>\>\>\>disable: {\it bool}\\\>\>\>\}\\\>\>\>address {\it IPv6-addr} \{\\\>\>\>\>prefix-length: {\it int(1..128)}\\\>\>\>\>destination: {\it IPv6-addr}\\\>\>\>\>disable: {\it bool}\\\>\>\>\}\\\>\>\}\\\>\}\\\}\end{tabbing}\end{alltt}\end{minipage}}\begin{description}\item{\tt interfaces}: this delimits all the interface configuration  information within the XORP configuration file.\item{\tt restore-original-config-on-shutdown}: this flag enables the  restoring of the original network configuration when the FEA is  shutdown. If it is set to true, then the restoring is enabled,  otherwise is disabled. The default is {\stt false} (\ie don't restore  the original network configuration).\item{\tt interface}: this delimits the configuration for a particular  interface.  The parameter is the name of the interface, which must  correspond to an interface known to the router forwarding path.  For each interface, the following configuration is possible:\begin{description}\item{\tt description}: this is a human-readable description for the  interface.  It is primarily used to help the router operator  remember which interface serves which purpose.  It is optional.\item{\tt mac}: This allows the MAC address for the interface to be  set.  MAC addresses on devices such as Ethernets are usually fixed,  but in some cases it is possible to override the built-in default  MAC address.  The format should be in a form appropriate for the  interface type.  For an Ethernet interface, this would be six  colon-separated 8-bit numbers in hexadecimal, such as  {\stt 00:0a:59:9a:f2:ba}.\item{\tt mtu}: This allows the maximum transfer unit (MTU) to be set  for the interface as a whole (applying to all VIFs).  The value is  an integer number of bytes, and should be less than or equal to the  largest MTU supported by the physical device. When forwarding, IPv4  packets larger than the MTU will be fragmented unless they the DF  bit set, in which case they will be dropped and an ICMP  Packet-too-big message will be returned to the sender.\item{\tt default-system-config}: Normally all the interfaces, vifs,  and addresses on a XORP router will be configured through the XORP  configuration file and command line interface.  However, under  certain circumstances it is useful to be able to run XORP as a  routing daemon without changing the current configuration of  interfaces and addresses.  This primitive tells XORP to obtain its  configuration for this interface by reading the existing  configuration back from the forwarding engine rather than by  configuring the forwarding engine.  If {\tt default-system-config} is used, then the {\tt vif} and  {\tt address} sections must not be configured. \item{\tt disable}: this flag disables or enables the interface for  routing and forwarding~\footnote{Note  that prior to XORP Release-1.1, the {\tt enable} flag was used instead of  {\tt disable}.}.  It takes the value {\stt true} or {\stt  false}.  Configuring an interface to be disabled has the same effect  as removing its configuration, but without losing what the  configuration used to be.\item{\tt vif}: this configures a vif on the corresponding interface.  In some cases this may cause the vif to be created; an example  might be an Ethernet VLAN.  In other cases this merely denotes the  start of the configuration for the vif.  The parameter is the name  of the vif, as understood by the router forwarding engine.  For each vif, the following configuration is possible:\begin{description}\item{\tt disable}: this flag disables or enables the vif for  routing and forwarding~\footnote{Note  that prior to XORP Release-1.1, the {\tt enable} flag was used instead of  {\tt disable}.}.  It takes the value {\stt true} or {\stt  false}.  Configuring a vif to be disabled has the same effect  as removing its configuration, but without losing what the  configuration used to be.\item{\tt address}: this specifies a new IP address for this vif.  A  single vif might have multiple IP addresses, and might have both IPv4  address and IPv6 addresses.  The parameter is either an IPv4 or IPv6  address.  For each address, the following configuration is possible:\begin{description}\item{\tt prefix-length}: this gives the prefix length of the subnet  connected to this interface.  For an IPv4 address, prefix-length  must be between 4 and 32.  For an IPv6 address, prefix-length must  be between 8 and 128.  This field is mandatory for each address.\item{\tt broadcast}: this gives the subnet broadcast address for the  subnet corresponding to the vif address.  It is only needed for IPv4  addresses (it is mandatory), and is needed for historical reasons.  It takes the form of an IPv4 address.  Normally the broadcast address will have the local hosts part of the  subnet address set to all ones.  For example, with address 10.0.0.0  and prefix-length 20, the broadcast address will have the last 12  bits set to one, and hence will be 10.0.15.255.\item{\tt destination}: this specifies the destination IP address.  It  is only relevant for point-to-point interfaces, where the IP addresses  at each end of the link need not share an IP subnet.\item{\tt disable}: this flag disables or enables this IP address on  this vif~\footnote{Note  that prior to XORP Release-1.1, the {\tt enable} flag was used instead of  {\tt disable}.}.  It takes the value {\stt true} or {\stt false}.  Configuring an IP address to be disabled has the same effect as removing its  configuration, but without losing what the configuration used to be.\end{description}\end{description}\end{description}\end{description}\newpage\subsection{Example Configurations}We recommend that you select the interfaces that you want to use onyour system and configure them as below.  Interfaces that you do notwish XORP to use for forwarding should be omitted from theconfiguration.\subsubsection{Configuring Interface Addresses}\vspace{0.1in}\noindent\framebox[\textwidth][l]{\scriptsize\begin{minipage}{6in}\begin{alltt}\begin{tabbing}xx\=xx\=xx\=xx\=xx\=\killinterfaces \{\\\>interface dc0 \{\\\>\>description: "ethernet interface"\\\>\>disable: false\\\>\>vif dc0 \{\\\>\>\>disable: false\\\>\>\>address 10.10.10.10 \{\\\>\>\>\>prefix-length: 24\\\>\>\>\>broadcast: 10.10.10.255\\\>\>\>\>disable: false\\\>\>\>\}\\\>\>\>\\\>\>\>address 10:10:10:10:10:10:10:10 \{\\\>\>\>\>prefix-length: 64\\\>\>\>\>disable: false\\\>\>\>\}\\\>\>\>\\\>\>\}\\\>\}\\\}\end{tabbing}\end{alltt}\end{minipage}}\vspace{0.1in}In the example above, the router has only one interface configured.This interface is called {\stt dc0}, and the vif is also called {\sttdc0}.  In this case, this is because this interface is an Ethernetinferface, and VLANs are not being used, so the vif is simply thedefault vif for this interface.  The vif has both an IPv4 and an IPv6 address configured.  The IPv4address is {\stt 10.10.10.10}, and connects to the subnet {\stt10.10.10.0/24} as determined by the prefix-length.  Consistent withthis, the subnet broadcast address is {\stt 10.10.10.255}.The IPv6 address has a prefix-length of 64 bits, and does not need (orallow) the broadcast address to be explicitly specified.  In this case, the internface is not a point-to-point interface, so nodestination address is specified.\subsubsection{Using Pre-Configured Interface Addresses}If the {\tt default-system-config} statement is used, as shown in theexample belore, it instructs the FEA that the interface should beconfigured by using the existing interface information from theunderlying system.  In that case, the {\tt vif} and {\tt address}sections must not be configured.\vspace{0.1in}\noindent\framebox[\textwidth][l]{\scriptsize\begin{minipage}{6in}\begin{alltt}\begin{tabbing}xx\=xx\=xx\=xx\=xx\=\killinterfaces \{\\\>interface dc0 \{\\\>\>description: "data interface"\\\>\>disable: false\\\>\>default-system-config\\\>\}\\\}\end{tabbing}\end{alltt}\end{minipage}}\vspace{0.1in}\newpage\section{Monitoring Network Interfaces}The state of a XORP router's interfaces can be displayed fromoperational mode using the {\stt show interfaces} command.  By itself,{\stt show interfaces} will list information about all the interfacesin the router:\vspace{0.1in}\noindent\framebox[\textwidth][l]{\scriptsize\begin{minipage}{6in}\begin{alltt}\begin{tabbing}xxxxxxxx\=xxxxxxxxxxxxxxxx\=\killuser@hostname> \textbf{show interfaces}\\dc0/dc0: Flags:<ENABLED,BROADCAST,MULTICAST> mtu 1500\\\>inet 172.16.0.1 subnet 172.16.0.0/24 broadcast 172.16.0.255\\\>physical index 1\\\>ether 00:80:c8:b9:61:09\\dc1/dc1: Flags:<ENABLED,BROADCAST,MULTICAST> mtu 1500\\\>inet 172.16.1.1 subnet 172.16.1.0/24 broadcast 172.16.0.255\\\>physical index 2\\\>ether 00:80:c8:b9:61:0a\\dc2/dc2: Flags:<ENABLED,BROADCAST,MULTICAST> mtu 1500\\\>inet 172.16.2.1 subnet 172.16.2.0/24 broadcast 172.16.0.255\\\>physical index 3\\\>ether 00:80:c8:b9:61:0b\\dc3/dc3: Flags:<ENABLED,BROADCAST,MULTICAST> mtu 1500\\\>inet 172.16.3.1 subnet 172.16.3.0/24 broadcast 172.16.0.255\\\>physical index 4\\\>ether 00:80:c8:b9:61:0c\\fxp0/fxp0: Flags:<ENABLED,BROADCAST,MULTICAST> mtu 1500\\\>inet 192.150.187.112 subnet 192.150.187.0/25 broadcast 192.150.187.255\\\>physical index 5\\\>ether 00:02:b3:10:b4:6c\end{tabbing}\end{alltt}\end{minipage}}\vspace{0.1in}In this case, the router has five Ethernet interfaces, each of whichhas a single vif.  The naming format is {\it interface/vif}.  Forexample {\stt dc1/vlan2} would be vif vlan2 on interface dc1.  In theabove example, all the vif names are the same as the Ethernetinterface names because no VLANs are being used.\vspace{0.1in}To display information about a specific interface, use the {\stt showinterfaces $<${\it interface}$>$} command:\vspace{0.1in}\noindent\framebox[\textwidth][l]{\scriptsize\begin{minipage}{6in}\begin{alltt}\begin{tabbing}xxxxxxxx\=xxxxxxxxxxxxxxxx\=\killuser@hostname> \textbf{show interfaces dc1}\\dc1/dc1: Flags:<ENABLED,BROADCAST,MULTICAST> mtu 1500\\\>inet 172.16.1.1 subnet 172.16.1.0/24 broadcast 172.16.0.255\\\>physical index 2\\\>ether 00:80:c8:b9:61:0a\\\end{tabbing}\end{alltt}\end{minipage}}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美视频在线一区| 国产精品无人区| 国产日韩欧美麻豆| 一区二区久久久久| 国产经典欧美精品| 欧美电影一区二区三区| 中文字幕在线观看一区| 美女脱光内衣内裤视频久久影院| 91玉足脚交白嫩脚丫在线播放| 日韩欧美激情一区| 亚洲地区一二三色| 91麻豆123| 国产日韩精品一区二区三区| 成人av在线播放网址| 在线观看91精品国产入口| 亚洲国产激情av| 久草这里只有精品视频| 欧美福利视频导航| 亚洲激情自拍视频| 成人综合在线网站| 国产亚洲污的网站| 久久66热偷产精品| 日韩一区二区三区四区五区六区| 亚洲福利一区二区三区| 91蝌蚪porny成人天涯| 欧美国产日本韩| 国产精品自拍一区| 久久人人97超碰com| 蜜臀a∨国产成人精品| 6080日韩午夜伦伦午夜伦| 亚洲成人免费在线| 久久久久久亚洲综合| 久久精品国产在热久久| 日韩网站在线看片你懂的| 青青草原综合久久大伊人精品| 欧美猛男男办公室激情| 日韩综合在线视频| 日韩一区二区三区免费观看| 久久精品免费观看| 欧美精品一区二区三区视频 | 偷偷要91色婷婷| 欧美视频自拍偷拍| 日本不卡视频一二三区| 欧美一区二区三区四区五区| 美女视频网站久久| 国产亚洲欧美色| www.亚洲色图| 一区二区免费视频| 欧美一区二区美女| 国产精品亚洲一区二区三区妖精| 国产欧美视频在线观看| 99久久精品国产精品久久| 亚洲欧洲精品一区二区三区| 91福利国产精品| 人人狠狠综合久久亚洲| 国产亚洲精品7777| 91小视频在线| 日本免费在线视频不卡一不卡二| 精品嫩草影院久久| 成人app下载| 天天综合天天做天天综合| 精品国精品国产| 99久久精品免费看国产免费软件| 亚洲影视在线观看| 精品不卡在线视频| 91香蕉视频污| 免费观看成人av| 国产精品久久久一本精品| 欧美日韩中字一区| 国产精品77777竹菊影视小说| 亚洲欧美日韩一区二区| 日韩女优制服丝袜电影| 色综合久久中文字幕| 奇米一区二区三区av| 中文字幕一区三区| 日韩欧美一级片| 色综合久久中文字幕| 国产最新精品精品你懂的| 亚洲三级免费观看| 精品久久五月天| 欧洲精品一区二区三区在线观看| 国产曰批免费观看久久久| 一区二区三区鲁丝不卡| 久久久精品免费免费| 欧美喷潮久久久xxxxx| 99r精品视频| 国产美女精品一区二区三区| 亚欧色一区w666天堂| 日韩毛片高清在线播放| 国产丝袜欧美中文另类| 欧美一区二区不卡视频| 欧美亚日韩国产aⅴ精品中极品| 国产乱码精品一区二区三区忘忧草| 亚洲图片欧美视频| 亚洲色图色小说| 国产日本一区二区| 亚洲精品在线观看网站| 欧美日本在线播放| 日本精品裸体写真集在线观看| 国产成人在线色| 精品亚洲免费视频| 美日韩一级片在线观看| 性做久久久久久免费观看欧美| 一色桃子久久精品亚洲| 欧美国产日本韩| 国产人成一区二区三区影院| 久久亚洲综合色| 精品国精品自拍自在线| 欧美α欧美αv大片| 日韩三级av在线播放| 3d动漫精品啪啪1区2区免费| 欧美日韩中文精品| 欧美日韩国产综合久久| 欧美色图免费看| 欧美视频在线不卡| 欧美日韩一区在线观看| 欧美视频三区在线播放| 欧美日韩国产小视频在线观看| 91福利国产精品| 欧美日韩美少妇| 欧美疯狂性受xxxxx喷水图片| 91麻豆精品国产91| 日韩一级欧美一级| 久久嫩草精品久久久久| 久久九九国产精品| 国产精品不卡一区二区三区| 国产精品精品国产色婷婷| 亚洲九九爱视频| 午夜精品爽啪视频| 久久国产精品区| 国产黄色成人av| 99国产一区二区三精品乱码| 色94色欧美sute亚洲线路一久| 欧美亚洲动漫精品| 日韩一级高清毛片| 国产午夜精品久久久久久免费视| 国产精品系列在线| 亚洲一区二区在线免费看| 视频一区二区欧美| 国产精品亚洲а∨天堂免在线| 成人精品视频一区二区三区尤物| 99精品国产热久久91蜜凸| 欧美日韩亚洲不卡| 久久亚洲精品国产精品紫薇 | 欧美一二三四区在线| 精品国产三级电影在线观看| 国产精品美女久久久久久久久| 亚洲婷婷综合久久一本伊一区| 亚洲6080在线| 福利一区福利二区| 欧美日韩精品二区第二页| www成人在线观看| 亚洲欧美日韩国产中文在线| 奇米影视一区二区三区小说| av中文字幕亚洲| 91精品国产综合久久久蜜臀粉嫩| 国产午夜精品一区二区| 亚洲国产欧美在线| 国产成人亚洲综合a∨猫咪| 欧美丝袜丝nylons| 亚洲国产成人午夜在线一区| 日韩精品电影一区亚洲| www.欧美亚洲| 欧美tickling网站挠脚心| 亚洲乱码国产乱码精品精小说| 另类小说色综合网站| 91日韩精品一区| 久久精品这里都是精品| 亚洲电影激情视频网站| 成人免费的视频| 精品裸体舞一区二区三区| 亚洲一区二区欧美| 成人av先锋影音| 久久综合久久久久88| 午夜欧美电影在线观看| 97精品视频在线观看自产线路二| 欧美刺激脚交jootjob| 亚洲国产成人tv| 91浏览器打开| 中文字幕日韩av资源站| 国产又黄又大久久| 日韩欧美区一区二| 日韩黄色小视频| 欧美日韩小视频| 亚洲一区二区免费视频| 91在线视频播放| 中日韩av电影| 国产成人福利片| 久久亚洲免费视频| 国产呦萝稀缺另类资源| 日韩精品一区二区三区中文不卡| 视频一区二区欧美| 91精品麻豆日日躁夜夜躁| 午夜电影网一区| 欧美区一区二区三区| 无码av免费一区二区三区试看 | 国产精品久久网站| 国产xxx精品视频大全| 久久久久国产一区二区三区四区| 九色综合狠狠综合久久|