ARCHITECTURE TECHNOLOGY CORPORATION CRR-1000 Manuale di avvio rapido - Pagina 12

Sfoglia online o scarica il pdf Manuale di avvio rapido per Router wireless ARCHITECTURE TECHNOLOGY CORPORATION CRR-1000. ARCHITECTURE TECHNOLOGY CORPORATION CRR-1000 18.

CRR-1000 Quick Start Guide
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP group default qlen 1000
link/ether 08:00:27:b2:4a:fe brd ff:ff:ff:ff:ff:ff
inet 192.168.10.254/24 brd 192.168.10.255 scope global eth0.primary
valid_lft forever preferred_lft forever
Write down (or otherwise record) the hardware address of each physical interface of your CRR-1000;
they'll be needed later.

5.2.1 Simple Network: One Router, Two Subnets

This example shows the configuration that enables static routing between two subnets; the associated
network topology is provided by the following diagram.
The corresponding configuration file is shown below. You'll need to replace the xx:xx:xx:xx:xx:xx
hardware addresses shown below with the hardware addresses of your router (described previously).
{
"RouterId" : 10,
"Links" : [
{
"Name" : "subnetA",
"Type" : "Simple",
"Interface" : {
"Name" : "eth0",
"Inet4Addresses" : [ "192.168.10.254/24" ],
"HardwareAddress" : "xx:xx:xx:xx:xx:xx"
}
},
{
"Name" : "subnetB",
"Type" : "Simple",
"Interface" : {
"Name" : "eth1",
"Inet4Addresses" : [ "192.168.100.254/24" ],
"HardwareAddress" : "xx:xx:xx:xx:xx:xx"
}
}
]
}
The above configuration is a single JSON object and is thus enclosed in curly braces.
The second line of the configuration file specifies the RouterId – a required entry with valid values of 2-
254. For simplicity, set your RouterId to 10; its use is discussed further in advanced routing examples.
The "Links" section defines IP addresses and corresponding interface names and hardware addresses.
10