Technical data

Table Of Contents
71
Sample Configuration 3 — Configuring a Dual Ethernet Router for IP
Routing
Scenario
The following example provides a simple sample configuration for a Dual Ethernet router with IP Routing
enabled.
The router’s hub (ETH/0) belongs to the 192.168.254.0 subnet. The router’s ETH/1 belongs to the
192.168.253.0 subnet.
ETH/0 will route packets to ETH/1 at the address 192.168.253.254. DHCP is enabled for both subnets.
ETH_ROUTER CONFIGURATION
Configuration
Section
Item Commands
System Settings
Name
System Name (optional)
system name eth_router
System Settings
Message
Message (optional)
system msg Configured_Jan_1999
Ethernet Settings
Routing/ Bridging
Controls
Enable IP Routing
Disable Bridging
eth ip enable
eth br disable
Ethernet Settings
ETH/0 IP Address
ETH/1 IP Address
TCP/IP default route
address
Define ETH/0 IP address for
the hub side
Define ETH/1 IP address for
the single 10Base-T side
ETH/0 sends all traffic to
ETH/1
eth ip addr 192.168.254.254 255.255.255.0 0
eth ip addr 192.168.253.254 255.255.255.0 1
eth ip addroute 0.0.0.0 255.255.255.255
192.168.253.254 1 1
DHCP Settings
DHCP Settings
Define DHCP network for
ETH/1
Create an address pool for
ETH/1
DNS Domain Name
DNS Server
WINS Server Address
dhcp add 192.168.253.0 255.255.255.0
dhcp set addresses 192.168.253.2 192.168.253.20
dhcp set valueoption domainname myISP.com
dhcp set valueoption domainnameserver
192.168.200.1
dhcp set valueoption winsserver 172.16.0.2