openindiana bridging problem (brctl)


 
Thread Tools Search this Thread
Operating Systems Solaris openindiana bridging problem (brctl)
# 1  
Old 11-28-2011
OpenIndiana server box; bridging and routing problem

Hello all,

I was trying to hooking up several computers into my openindiana server box, the server box has few RJ45 gigabit ethernet. The desired hierarchy of the network will be shown as on the picture attached. I would like to connect each host into my gigabit ethernet because of me and my brother want to put all our files into this server, hence the speed would be maintained at 1 gb/s (~100mbyte/s file transfer rate), but then we wouldn't be able to join our computers' network together. Came up an idea to bridge the connections to our computer inside the openindiana server box by software.

After had a lot of reading and researching over the internet, I found out that I have to use 'brctl' command to create the bridging connection. By default this feature isn't implemented, so that I would need to install ethbridge-0.9 from opensolaris website (can be downloaded by clicking view > attachment on the website
hub (dot) opensolaris (dot) org /bin/view/Project+ethbridge/files

The problem arise here when I install the package, when I 'make' the package, I got an error saying that the file is unable to be compiled (I couldn't regenerate the error). Thus I tried to 'make install' the package under (super user)

Code:
# make install

it also didn't work, but when I used (non super user with 'sudo')

Code:
$ sudo make install

it works!

Hence, I got my brctl installed. I tried to install the driver for the bridge by inputing:

Code:
$ sudo add_drv bridge

Giving an output of:
Driver (bridge) is already installed.

But when I went to /devices/pseudo/
I can 'only' see a folder called bridge@0, the file called bridge@0:0 is missing!

I also tried different methods
update_drv bridge

and

rem_drv bridge then followed by add_drv bridge

They didn't work.....

Another problem arised when I tried to create the bridge by inputing the command:

Code:
$ sudo bridge addbr mybridge

or

Code:
# bridge addbr mybdrige

Giving an output of:
brctl: open(/devices/pseudo/bridge@0:0) failed: No such file or directory

After done another research on ethbridge-0.9 on the internet, I found it out that this package didn't work on Solaris S10u1 (Solaris 10 01/06)
mail (dot) opensolaris (dot) org/pipermail/ethbridge-discuss/2006-January/000000 (dot) html

The goal:
I just only want to bridge two of my ethernet in this openindiana server box so that each computer could:
1. see each other in the same network
2. have up/downlink 1gb/s to the server box.

I am not closed only to this bridging solutions, if you have any different solution that satisfy the requirements above please shoot.

Any help/solutions would be very appreciated. Smilie

Have a good one guys.

to moderator: sorry, I have upload the link so that the other user know what I am trying to explain.
openindiana bridging problem (brctl)-hierarchypng

Last edited by enno; 11-29-2011 at 09:45 AM.. Reason: Code tags
# 2  
Old 11-28-2011
Quote:
Originally Posted by enno
After had a lot of reading and researching over the internet, I found out that I have to use 'brctl' command to create the bridging connection. By default this feature isn't implemented
Isn't OpenIndiana supporting
Code:
dladm create-bridge

and
Code:
dladm add-bridge

commands out of the box ?
This User Gave Thanks to jlliagre For This Post:
# 3  
Old 11-28-2011
Oh, you are correct. That was weird, I keep searching about bridge and always get a result with brctl not dladm. Thanks alot!

update:
I finally managed to create a bridge between the two ethernet ports, but I got another problem to set up my openindiana server box to behave as a router.
The openindiana server box will also routing 2 different subnets, so that they could connect to internet (I forgot to mention the eth3 in the earlier attachment).

Internet will be connected to the eth0 side of the server box.

I would like to set up 2 subnets under this server box,
1 st subnetwork = 192.168.1.000/25, (eth1 and eth2 are bridged under this subnet)
2nd subnetwork = 192.168.1.128/25, another guest computer (eth3) will be connected under this subnet.

The job of the server box is then to act as a router for the 2 subnets.
I am confused how to setup such thing on my server box because of the bridge is actually done in the openindiana server box and yet there is another router to be done on top of it.
Can I use VNIC for the "???" in the attachment. Normally its just another ethernet port of the router.
or
is it possible for me to just ignore the bridging, so there is no bridge over the host1 and host2?

The reason I set the network in this way because we want put the host3 maybe as WLAN access point and we only want the first subnet where host1 and host2 connected to be able to access to our printing server and our samba server.

Im sorry if the question is abit silly as I am quite new into networking.

Thanks for the response and suggestions Smilie
openindiana bridging problem (brctl)-hierarchy2png

Last edited by enno; 11-29-2011 at 06:54 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Programming

Bridging Talk

Hi! I would like to start creating a bridge for good old Unix talk program. This bridge would allow you to joinIRC-channel by using talk just for example. I have a couple of questions: 1. Are there any previous attempts or implementations creating Talk bridge? 2. Which version of the talk... (9 Replies)
Discussion started by: homebeach
9 Replies

2. Solaris

Makefile on SunOS 5.11 Openindiana Hipster

SOLVED NOW Solution: Using bmake was the key. Ran into some few errors when using the compilers and the trick here was to first install the pkg system/header and then assign the working compiler in command line like this: bmake CC=/path/to/relevant/gcc CXX=/path/to/relevant/g++... (0 Replies)
Discussion started by: sometimespeter
0 Replies

3. Solaris

OpenIndiana: Can't mount ext2 filesystem

I have oi_151a7 and installed from sfe fuse-ext, libfuse and e2fsprogs. Mount e.g. # mount -F ext2fs /dev/dsk/c4t0d0p1 /mnt returns "mount: Operation not applicable to FSType ext2fs" and $ fuse-ext2 /dev/dsk/c4t0d0p1 ~/tmp/a/ does not output anything but the filesystem seems not to be... (3 Replies)
Discussion started by: bsdx
3 Replies

4. Solaris

Openindiana + Android permissions

Hi, I use Openindiana with napp-it. I am able to access and modify the zfs folders from windows but not from android. I ve used several apps like ES File Exporer and AnsSMB with no success. I can see the server but when I try to login it complains about wrong credentials. Any help will be very... (5 Replies)
Discussion started by: iliakos
5 Replies

5. IP Networking

Linux Bridging, Wireless AP, IPv6 multicast and autoconfiguration.

Well I cannot be too certain of the setup, since it's a stock firmware, but I have a cheap Belkin wireless-n router and wanted to get some ideas of what may be going on while I've a few moments to ramble on about my problems... I requested the GPL source so I've just been pondering while waiting to... (0 Replies)
Discussion started by: neutronscott
0 Replies

6. Solaris

Solaris Express or OpenIndiana

Simply question which should I use. correct me if I'm wrong but Solaris Express is taking the place of Opensolaris and is officially sanctioned by Oracle and OpenIndiana is what used to be OpenSolaris. If I opt for OpenIndiana is it going to follow the official Oracle Solaris releases or are... (3 Replies)
Discussion started by: michael78
3 Replies

7. IP Networking

problem with bridging!!! :(

Hello, I have an UTM that has 4 ports. I was bridged two ports of it. my pc wired to one port and other one to network. Now I can ping my default gateway but it doesn't work(I haven't access to internet) even http of gateway, what happened? what route I should added? Thanks in advance.:confused: (0 Replies)
Discussion started by: Zaxon
0 Replies

8. UNIX for Advanced & Expert Users

Bridging with SSH Tunnels

Here is the scenario: I use an OpenBSD 2.9 box as my firewall and gateway at the house. One of the boxes behind my OpenBSD box is my FreeBSDBox. I would like to be able to use port forwarding with SSH to enable a secure connection from work to the OpenBSD box and to have the OpenBSD box... (6 Replies)
Discussion started by: auswipe
6 Replies
Login or Register to Ask a Question