[Contents] [Prev] [Next] [Index] [Report an Error]

Configuring Ethernet Interfaces

Ethernet interfaces support IP, PPPoE, multinetting (multiple IP addresses), and VLANs (subinterfaces). Ethernet modules use the Address Resolution Protocol (ARP) to obtain MAC addresses for outgoing Ethernet frames and support quality of service (QoS) classification. See JUNOSe Physical Layer Configuration Guide, for a description of limitations of individual modules.

Use the Fast Ethernet, Gigabit Ethernet, and 10-Gigabit Ethernet commands described in JUNOSe Physical Layer Configuration Guide to:

The following sample command sequence configures an IP interface on a VLAN on an Ethernet interface:

host1(config)#interface fastEthernet 2/0
host1(config-if)#encapsulation vlan
host1(config-if)#interface fastEthernet 2/0.1
host1(config-if)#vlan id 201
host1(config-if)#ip address 192.168.129.5 255.255.255.0

The following sample command sequence adds an IP interface over PPPoE to the same VLAN:

host1(config)#interface fastEthernet 2/0.1.2
host1(config-if)#encapsulation pppoe
host1(config-if)#interface fastEthernet 2/0.1.2.1
host1(config-if)#encapsulation ppp
host1(config-if)#ip address 192.2.2.1 255.255.255.0

[Contents] [Prev] [Next] [Index] [Report an Error]