LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 01-01-2005, 05:41 AM   #1
UltraSoul
Member
 
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Rep: Reputation: 31
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?
 
Old 01-01-2005, 09:18 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,506

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
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
 
Old 01-02-2005, 03:23 AM   #3
UltraSoul
Member
 
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Original Poster
Rep: Reputation: 31
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?
 
Old 01-03-2005, 01:04 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,506

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
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 ?
 
Old 01-03-2005, 08:15 AM   #5
UltraSoul
Member
 
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Original Poster
Rep: Reputation: 31
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?
 
Old 01-03-2005, 08:30 AM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,506

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
Is your sunblade now able to communicate with both your laboratory lan and your university ?
 
Old 01-03-2005, 09:47 AM   #7
UltraSoul
Member
 
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Original Poster
Rep: Reputation: 31
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?
 
Old 01-03-2005, 10:01 AM   #8
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,506

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
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 ...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How does one forge the headers of an email? abefroman Linux - Security 9 08-14-2005 01:19 PM
Solaris 8 Lan interface problem UltraSoul Solaris / OpenSolaris 1 04-30-2005 06:06 AM
FireFox continues to forge ahead {BBI}Nexus{BBI} General 14 02-24-2005 07:08 PM
Forge email address vittibaby Linux - Security 1 11-19-2003 06:21 PM
LAN interface on Gateway stops being able to send info to LAN intermittantly. BurnFEST Debian 2 11-01-2003 03:16 AM


All times are GMT -5. The time now is 01:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration