Test the function of bridge

xiaoxiao2021-03-06  74

Install RH9 on 192.168.88.55, the kernel version is

2.4.20

-8, download bridge tool software http://bridge.sourceForge.Net/bridge-Utils/bridge-utils-0.9.6-1.i386.rpm, execute rpm -uvh bridge-utils-0.9.6-1.i386 . rpm, in / usr / sbin / down, generate a BRCTL file.

192.168.88.50

Hub

Eth1 (192.168.88.56)

Eth0 (192.168.88.55)

192.168.88 / 24

Perform:

Ping 192.168.88.55 can communicate

Ping 192.168.88.56 can communicate

PING 192.168.88.21 (21 is 192.168.88 / 24 other machines)

Execute at the server:

Ping 192.168.88.21 can communicate

Brctl Addbr MY_BRIDGE

Brctl addif my_bridge eth0

Brctl addif my_bridge eth1

Ifconfig Eth0

0.0.0

.0

IFConfig Eth1

0.0.0

.0

Ifconfig my_bridge 192.168.88.55

Perform:

Ping 192.168.88.21

Can communicate

转载请注明原文地址:https://www.9cbs.com/read-93211.html

New Post(0)