Configuring interfaces
Configuring interfaces
In the basic system scenario, an Internet-facing Ethernet interface is configured. To act as an Internet
gateway, the system needs an additional Ethernet interface that faces the office LAN. The example
employs the dp0p1p2 interface as the interface to the LAN.
Configure the office LAN-facing Ethernet interface
Assign the 192.168.1.254 IP address to the dp0p1p2 interface with a prefix length of 24, which is the
prefix length of the office subnet.
vyatta@R1# set interfaces dataplane dp0p1p2 address 192.168.1.254/24
[edit]
vyatta@R1# commit
[edit]
vyatta@R1#
Here are the interfaces that are configured now.
vyatta@R1# show interfaces
dataplane dp0p1p1 {
}
dataplane dp0p1p2 {
}
loopback lo {
}
[edit]
vyatta@R1#
Enabling SSH access
The SSH service of the gateway should allow users to access SSH from the office LAN but not from
the Internet. In this step, access to the SSH service on the system is enabled by using an SSH client.
(Preventing access from the Internet is done later by using the firewall of the Brocade vRouter.)
Note that setting up Telnet or web GUI access is similar to setting up access to SSH by using the set
service telnet or set service https command, respectively.
Enable SSH access
To allow SSH access, you enable the SSH service on the system. By default, the system is set to use
the more-secure SSH version 2.
vyatta@R1# set service ssh
[edit]
vyatta@R1# commit
[edit]
vyatta@R1#
Configuring the DHCP server
DHCP provides dynamic IP addresses to hosts on a specified subnet. In the Internet gateway
scenario, the DHCP server provides addresses to hosts on the office LAN, which is attached to the
dp0p1p2 interface.
44
address 192.0.2.21/24
address 192.168.1.254/24
Brocade 5600 vRouter Quick Start Guide
53-1003725-03
Need help?
Do you have a question about the 5600 and is the answer not in the manual?
Questions and answers