[beginner] dladm create-bridge


 
Thread Tools Search this Thread
Operating Systems Solaris [beginner] dladm create-bridge
# 1  
Old 11-20-2011
[beginner] dladm create-bridge

hello everyone, I'm a new user and unix-beginner.

I've just installer solaris 11 on my home server, disabled some services, created a fallback BE, enabled speedstep, etc

and now I'm trying to create some zones. I'd like to have an exclusive ip zone and, as far as I know, I sould assignate it to a bridge. So now I'm trying to create a bridge with
Code:
dladm create-bridge -l net0 bge0

(Don't know if the command is correct, remember, I'm an absolute begineer)

The problem is that it returns:

Code:
dladm: invalid bridge name 'bge0'

from the official doc:
Quote:
bridge-name is an arbitrary string that must be a legal SMF service instance name. This name is a FMRI component that has no escape sequences, which means that whitespace, ASCII control characters, and the following characters cannot be present:

; / ? : @ & = + $ , % < > # "
Should I report this as a bug? And, if so, where? Or I'm doing something wrong?

Last edited by kimj; 11-20-2011 at 10:04 AM..
# 2  
Old 11-20-2011
what is the output of dladm show-dev on your server?
# 3  
Old 11-20-2011
dladm show-dev apparently doesn't exist on solaris 11:
Quote:
dladm: unknown subcommand 'show-dev'
here's show-link:

Quote:
LINK CLASS MTU STATE OVER
net0 phys 1500 up --
---------- Post updated at 11:49 AM ---------- Previous update was at 11:14 AM ----------

I have another problem:

root@myhostname:~# svcadm enable svc:/network/smb/server:default
root@myhostname:~# svcs | grep smb
online 17:41:29 svc:/network/smb:default
offline 17:42:02 svc:/network/smb/server:default

Last edited by kimj; 11-20-2011 at 01:05 PM..
# 4  
Old 11-20-2011
You don't need to create bridges to get exclusive interface zones. Just create vnics on your network card:
Code:
dladm create-vnic -l net0 vnic0
dladm create-vnic -l net0 vnic1

This User Gave Thanks to bartus11 For This Post:
# 5  
Old 11-20-2011
thank you, it worked!

---------- Post updated at 03:31 PM ---------- Previous update was at 01:18 PM ----------

again, I can't get it working.

I've installed and booted the zone, and then I've tried to connect to it:
Quote:
root@myhostname:/zones# zlogin -C external

[Connected to zone 'external' console]
I can't do anything. I'm seriusly thinking to install the old release of solaris, but first... what am I supposed to do in order to (try to) solve this problem?
# 6  
Old 11-20-2011
Post output of
Code:
zoneadm list -cv
zonecfg -z external export

# 7  
Old 11-20-2011
Quote:
ID NAME STATUS PATH BRAND IP
0 global running / solaris shared
2 external running /zones/external solaris excl

Quote:
create -b
set zonepath=/zones/external
set brand=solaris
set autoboot=true
set ip-type=exclusive
add net
set configure-allowed-address=true
set physical=vnic0
end
add anet
set linkname=net0
set lower-link=auto
set configure-allowed-address=true
set link-protection=mac-nospoof
set mac-address=random
set auto-mac-address=2:8:20:9b:eb:9c
end
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 11.4.2.3.0 - dladm link names mapping

Hi all, I have never wondered where is the mapping of the link names to physical device path display under dladm show-phys until today. fmadm list reported nic port failure and i am trying to mapped it to the correct linkname in dladm show-link / dladm show-phys to see if the link is... (1 Reply)
Discussion started by: javanoob
1 Replies

2. OS X (Apple)

Hostroute => Bridge and IP-Forwardings

Hello unix community, Could anyone tell me what is the macosx command for: 1) ip hostroute to bridge: ip route add 188.40.1.40/32 dev br0 (linux command) /32 ist for netmask? Because I use /29. 2) and IP-Forwarding: net.ipv4.ip_forward = 1 (linux command) I hope anyone could... (1 Reply)
Discussion started by: girlusingunyx
1 Replies

3. IP Networking

Create a Bridge for Qemu using only loopback

hello networking folks, i have 3 virtual machines that need to talk to each other How can i create a bridge to loopback ? -net tap,vlan=0,ifname=tap1 where tap1 is connected to lo:1 , tap2 is connected to lo:2 etc thx (0 Replies)
Discussion started by: TwiceDone
0 Replies

4. Ubuntu

Wireless Bridge/Repeater ?

I have a laptop running Ubuntu Netbook Remix. What I want to do is use it to connect to my routers wifi, and then plug my desktop into the laptops ethernet port and be hooked to my routers network without any NAT or ICS. Desktop>>>>>>Laptop/Wired>>Laptop/Wireless>>>>>Router I want it to look... (6 Replies)
Discussion started by: schwasskin
6 Replies

5. Solaris

ifconfig -a vs dladm show-dev and IP ?

Can anyone please explain what does these means ? # dladm show-dev nxge0 link: up speed: 1000 Mbps duplex: full nxge1 link: up speed: 1000 Mbps duplex: full e1000g0 link: up speed: 1000 Mbps duplex: full e1000g1 ... (6 Replies)
Discussion started by: dehetoxic
6 Replies

6. Solaris

remove interface from dladm

Greetings how can i remove an interface from dladm? i want to remove ce3 and ce4 which are not even plumbed but still shown in dladm output :( dladm show-dev ce0 link: unknown speed: 1000 Mbps duplex: full ce1 link: unknown speed: 1000 Mbps duplex:... (3 Replies)
Discussion started by: kashif_islam
3 Replies

7. IP Networking

SNMP in a Bridge device

Hello all, recently we've created a Bridge on a machine that was being used as an snmp, and we haven't assigned an IP for the bridge interface, instead we've used one extra NIC to make all the administrations, but SNMP is simply not working, any one have a clue on how to do this? Thanks. (0 Replies)
Discussion started by: Zarnick
0 Replies

8. Solaris

dladm use

Thanks to DukeNuke for the suggestion of dladm before. I was able to upgrade my machine to Solaris 10. I am checking out the sue of dladm, but I am a bit confused. In order to team 2 NIC ports together on my qud ethernet card do I just do this: dladm create aggr -d ce0 -d ce1 key Do I need to... (1 Reply)
Discussion started by: hshapiro
1 Replies

9. UNIX for Dummies Questions & Answers

bridge on linux

Hello. I expirince some problems with bridging, i'm pretty new to that technology I've 2 nic's 1 - wireless rt2500 ra0 canyon cn511 card 2 - e100 intel, ifconfig ra0 up && iwconfig ra0 essid xxx channel x mode managed bring me wireless connection up then i do following: brctl addbr br0... (1 Reply)
Discussion started by: hachik
1 Replies
Login or Register to Ask a Question