
Chapter XVIII. Classification and Filtering
Chelsio T5/T4 Unified Wire For Linux Page 241
ii. Setup a static OR default route towards T5 router to reach 102.1.2.0/24 network
[root@host]# route add -net 102.1.2.0/24 gw 102.1.1.250
Follow these steps on Node 2
i. Configure IP address and enable the 3 interfaces:
[root@host]# ifconfig eth0 102.1.2.1/24 up
[root@host]# ifconfig eth0:2 102.1.2.2/24 up
[root@host]# ifconfig eth0:3 102.1.2.3/24 up
[root@host]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:07:43:12:D4:88
inet addr:102.1.2.1 Bcast:102.1.2.255 Mask:255.255.255.0
inet6 addr: fe80::7:4300:112:d488/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:1961 errors:0 dropped:2 overruns:0 frame:0
TX packets:141 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:218606 (213.4 KiB) TX bytes:17483 (17.0 KiB)
Interrupt:17
ii. Setup a static OR default route towards T5 router to reach 102.1.1.0/24 network
[root@host]# route add -net 102.1.1.0/24 gw 102.1.2.250
Kommentare zu diesen Handbüchern