Hi,
I'm planning to setup a virtual network between UMLs as follows. I need some information on creating more ethernet interfaces in UML process.
               host
                 |
   +-------- bridge1----------+
   |                                |
   |                                |
   |eth0                   eth0|
   |                                |
uml1 --------bridge2------- uml2
       eth1               eth1
 
I have configured bridge1 and and bridge2, and associated dummy interfaces (uml1-con0, uml2-con0 and uml1-con1, uml2-con2) to respective bridges in host.
 
Here is my bridge configuration:
 
brctl addbr bridge1
brctl setfd bridge1 1
brctl sethello bridge2 1
brctl stp bridge1off
ifconfig bridge1 172.16.42.10 netmask 255.255.255.0 up

tunctl -u root -t uml1-con0
tunctl -u root -t uml2-con0
ifconfig uml1-con0 0.0.0.0 promisc up
ifconfig uml2-con0 0.0.0.0 promisc up

brctl addif bridge1 uml1-con0
brctl addif bridge1 uml2-con0
brctl addbr bridge2
brctl setfd bridge2 1
brctl sethello bridge2 1
brctl stp bridge2 off
ifconfig bridge2 10.0.1.10 netmask 255.255.255.0 up

tunctl -u root -t uml1-con1
tunctl -u root -t uml2-con1
ifconfig uml1-con1 0.0.0.0 promisc up
ifconfig uml2-con1 0.0.0.0 promisc up

brctl addif bridge2 uml1-con1
brctl addif bridge2 uml2-con1
 
I have started the UMLs as specified under:
 
linux \
        umid=uml1 \
        ubd0= root_fs \
        con0=fd:0,fd:1 con=xterm \
        eth0=tuntap,uml1-con0,00:00:00:00:00:01,172.16.42.1 \
        eth1=tuntap,uml1-con1,00:00:00:00:01:01,10.0.1.1
 
linux \
        umid=uml2 \
        ubd0= root_fs \
        con0=fd:0,fd:1 con=xterm \
        eth0=tuntap,uml2-con0,00:00:00:00:00:02,172.16.42.2 \
        eth1=tuntap,uml2-con1,00:00:00:00:01:02,10.0.1.2
 
 
With the above configuration I'm able to ping bridge from both the UMLs and also able to ping eth0 interfaces of each UML from other UML.
 
For creating the second network (10.0.1.0) I need one more interface on both the UMLs which is not available.
"ifconfig -a" on uml shows only eth0, lo0 and dummy0. It doesn't show eth1 though I specified during startup. Am I missing some thign here?
Do I need to create them in UML before configuring bridging in host or they will get created while starting the UML?
 
 
Thanks in advance.
 
Regards
Shailender


Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard