LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 11-06-2005, 10:09 AM   #16
saudoi
Member
 
Registered: Aug 2004
Location: VietNam
Distribution: Sun Solaris 10
Posts: 117

Original Poster
Rep: Reputation: 15

Yes, I set 2 ip addresses for my server:
dmfe0: 192.168.1.2 /24
dmfe1: 192.168.1.4 /24

My PC: 192.168.1.44 /24.

What's problem here?
 
Old 11-06-2005, 11:16 PM   #17
saudoi
Member
 
Registered: Aug 2004
Location: VietNam
Distribution: Sun Solaris 10
Posts: 117

Original Poster
Rep: Reputation: 15
I have 1 cable plug to server.

1st time, I connect this cable to dmfe0 and try to ping my PC. Here is the output:

Code:
-bash-3.00# ifconfig -a                       
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1  
        inet 127.0.0.1 netmask ff000000                                       
dmfe0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2 
        inet 192.168.1.2 netmask ffffff00 broadcast 192.168.1.255 
        ether 0:3:ba:11:bf:9b 
dmfe1: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 3 
        inet 192.168.1.4 netmask ffffff00 broadcast 192.168.1.255 
        ether 0:3:ba:11:bf:9c 

-bash-3.00# ping 192.168.1.44 
192.168.1.44 is alive
Next, I move the cable connect from dmfe0 to dmfe1 and ping my pc again
Code:
-bash-3.00# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
dmfe0: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.1.2 netmask ffffff00 broadcast 192.168.1.255
        ether 0:3:ba:11:bf:9b
dmfe1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 192.168.1.4 netmask ffffff00 broadcast 192.168.1.255
        ether 0:3:ba:11:bf:9c

-bash-3.00# ping 192.168.1.44
no answer from 192.168.1.44
The content of /etc/hostname.dmfe1
Code:
-bash-3.00# cat /etc/hostname.dmfe1
192.168.1.4 netmask 255.255.255.0
and the result of netstat -rn command
Code:
-bash-3.00# netstat -rn

Routing Table: IPv4
  Destination           Gateway           Flags  Ref   Use   Interface
-------------------- -------------------- ----- ----- ------ ---------
192.168.1.0          192.168.1.2          U         1      2  dmfe0
192.168.1.0          192.168.1.4          U         1      0  dmfe1
224.0.0.0            192.168.1.2          U         1      0  dmfe0
default              192.168.1.1          UG        1      2
127.0.0.1            127.0.0.1            UH        4     77  lo0
-bash-3.00#

Last edited by saudoi; 11-06-2005 at 11:23 PM.
 
  


Reply



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
SunFire V20Z and Solaris 9 zillah Solaris / OpenSolaris 4 11-29-2005 04:26 AM
Linux X-Server for SunFire Laoch Linux - Networking 1 09-06-2005 02:18 AM
Installing Redhat On Sun Sparc v100 petestar Solaris / OpenSolaris 1 01-13-2003 06:54 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 04:53 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration