LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   forge a LAN INTERFACE! (https://www.linuxquestions.org/questions/solaris-opensolaris-20/forge-a-lan-interface-272523/)

UltraSoul 01-01-2005 05:41 AM

forge a LAN INTERFACE!
 
I want my sun blade as a gateway of the lan connected with it.
So I think two lan cards are necessary for this configuration, one is
connected to internet, another one is connected to local network.
I know solaris9.0 can forge another interface other than the interface
of bge0. But how to configure the interface ? I want to know more about
from here?? Someone can tell me about this configuration?

jlliagre 01-01-2005 09:18 AM

Do you have another physical interface available ?
If not, you can still have multiple virtual interfaces bounded to a single ethernet port:
e.g.:

ifconfig bge0:1 plumb
ifconfig bge0:1 192.168.0.10 up

UltraSoul 01-02-2005 03:23 AM

Thanks for your help!
 
Thanks for your help! I have a question to your reply that is what meaning plumb is?
Is it a option? Before your reply I have tried to configure a virtual lan interface.
I made a new file of /etc/hostname.interface:2, and wrote up the hostname and IP address(192.168.0.15)
corresponding to the local network in /etc/inet/hosts. So there are a couple of IP and hostnames in /etc/hosts
one corresponds to my labratory LAN, another one corresponds the gateway of my university.
My sun blade is connected to a swithing hub to which the cable from the university's gatewaty connected.
one cable from the hub connects a router through which the lab Lan is constructed. I connected the cable of my sun
blade to the router, I think the other pc in Lan will recognize the sun blade as a gateway. but I failed to make the sun blade as the gateway of labratory LAN. how to do this? Can you give me some advices?

jlliagre 01-03-2005 01:04 AM

Quote:

Thanks for your help! I have a question to your reply that is what meaning plumb is?
Is it a option?
Yes, its meaning is what you call forge (see man ifconfig).
Quote:

but I failed to make the sun blade as the gateway of labratory LAN. how to do this? Can you give me some advices?
What is the problem ? What works and what doesn't ?

UltraSoul 01-03-2005 08:15 AM

More information!
 
I want to make my sun blade as the gateway of the LAN in my Labratory.
Formally, Two Lan cards are necessary to perform this configuration.
But, I think one LAN card is enough if Solaris9 can make a virtual lab interface!

So I want the virtual Lan interface(bme0:2) to connect the LAN(192.168.11~) in my labratory
and another LAN interface(bme0) to connect the outside network which is under university's control
. How should I configure the connection of my lan cable or other?

jlliagre 01-03-2005 08:30 AM

Is your sunblade now able to communicate with both your laboratory lan and your university ?

UltraSoul 01-03-2005 09:47 AM

More information!
 
Now my sun blade is connected to a swiching hub that is connected to the university lan. The Lan in my lab is constructed by
a router which is connected the switching hub. if I connect the sun blade to the switching hub, then sun blade just can
communicate with the PCs in university lan and can not communicate the PCs in my lab. But if I connect the router, my pc will
be assigned with a private IP ( 192.168.11.*), so I can not communicate with the PCs in university. How to solve the conflict?

jlliagre 01-03-2005 10:01 AM

This is probably a routing problem, but I can't tell more from your description, sorry but it's too confusing.
Perhaps a drawing of the network would help, but I don't know how you could post one to the forum ...


All times are GMT -5. The time now is 09:31 PM.