DHCP is getting different class of IP than host machine on Solaris 10


 
Thread Tools Search this Thread
Operating Systems Solaris DHCP is getting different class of IP than host machine on Solaris 10
# 1  
Old 11-06-2012
DHCP is getting different class of IP than host machine on Solaris 10

i have a laptop with windows 7 installed . this laptop is dhcp enabled and it's details are as follows :

Code:
 IPv4 Address. . . . . . . . . . . : 10.1.5.54
 Subnet Mask . . . . . . . . . . . : 255.255.255.192
 Default Gateway . . . . . . . . . : 10.1.5.1


i installed solaris 10 on vmware on above machine.

i also enabled dhcp in solaris .
ip details of solaris machine are as follows :

Code:
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000

e1000g0: 
flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2
        inet 192.168.6.130 netmask ffffff00 broadcast 192.168.6.255
        ether 0:c:29:aa:d2:90

i could not understand whay it is happening like this ?

how solaris machine can get ip of same class as host so that it can be accesses over network ?

Last edited by Scott; 11-06-2012 at 06:48 AM.. Reason: Code tags
# 2  
Old 11-06-2012
you might using NAT on the virtual machine and so the solaris instance is getting an IP from the vmware integrated dhcp server. you have to configure a "bridged" network for your virtual machine to be able to get a dhcp address from your environment dhcp server.
This User Gave Thanks to DukeNuke2 For This Post:
# 3  
Old 11-06-2012
i changed vmware settings from nat ---------> bridged and restart virtual machine.

now it got these ip and it is pinging on network :
Code:
ifconfig -a

lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000

e1000g0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2
        inet 10.1.5.61 netmask ffffffc0 broadcast 10.1.5.63
        ether 0:c:29:aa:d2:90



now this machine is pinging on network.

Last edited by Scott; 11-06-2012 at 07:45 AM.. Reason: Code tags, please...
# 4  
Old 11-06-2012
well done... have fun with your solaris installation Smilie
# 5  
Old 11-06-2012
i want to restart samba service on this solaris machine.

under /etc/init.d directory there is no folder with name samba


so i could restart this serrvice
# 6  
Old 11-06-2012
new problem, new thread!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Dhcp in use or not on Solaris machine

Hi All, Could you please let me know how can we check whether any given solaris machien is using DHCP or not. is ps -ef | grep dhcp is full proof method or is their any other way. (10 Replies)
Discussion started by: omkar.jadhav
10 Replies

2. Linux

Dhcp in use or not for Linux machine

Hi All. Can anyone let me know the smartest and fullprrof method of checkking whther any given linux machine is using DHCP or not? # ps -ef | grep dhcp gives output like below : root 3251 3128 0 11:02 pts/0 00:00:00 grep dhcp so i dont think its full proof method , please... (3 Replies)
Discussion started by: omkar.jadhav
3 Replies

3. Hardware

USB interface to HP ux R Class machine

mine current HP R class machine comes with scsi but not usb port. i am thinking it is possible to get a scsi to usb converter to help to connect usb-enabled devices such as usb-enabled dvd writer, usb-enabled portable hard disk. pls advise. thanks :) (1 Reply)
Discussion started by: lchunleo
1 Replies

4. Solaris

Change hostID of Solaris 10 virtual/guest machine installed by Virtual Box 4.1.12 on Windows-XP host

Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12). I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
Discussion started by: Matt_VB
4 Replies

5. Solaris

How to configure the host to dhcp mode

I try a static ip assign mode while i installed the Solaris 10(U 8). But i can't access the internet, i try the ifconfig -a command and see my configuration is correct in the interface. So i want to get my ip using dhcp. I search from internet. They give me the suggestions. ifconfig interface... (1 Reply)
Discussion started by: papertiger
1 Replies

6. Linux

dhcp what does vendor-class-identifier, 0, 9 mean?

dhcp what does vendor-class-identifier, 0, 9 mean? match if substring(option vendor-class-identifier, 0, 9) = "PXEClient"; (3 Replies)
Discussion started by: 3junior
3 Replies

7. UNIX for Dummies Questions & Answers

Host ID in Solaris Machine

Hi, On doing reinstallation of Solaris 10 OS, does an existing host id change? Regards, Thiru (1 Reply)
Discussion started by: nthiruvenkatam
1 Replies

8. Solaris

Solaris virtual machine access on host os

Hi I have two solaris 10 virtual machines on my Vista laptop. I want to access both machines using putty in vista. I used DHCP while installing virtual machines. one machine gets the ip address and other does not. What is the problem? can i assign a static ip address if yes how? ... (2 Replies)
Discussion started by: ankurk
2 Replies

9. Shell Programming and Scripting

Delete Blank Lines Between DHCP Host Blocks

Hi All, I have a dhcpd.conf file that gets static hosts added and removed via a shell script. After sometime, there becomes huge gaps of space ( blank lines ) between each host block. I tried a couple of sed one-liners; but, I can't seem to get the output I'm looking for. Also, I would like... (4 Replies)
Discussion started by: cstovall
4 Replies

10. UNIX for Dummies Questions & Answers

Solaris Machine IP Configuration via DHCP

I have a new solaris machine and I am trying to bring the same on network. The IP assignemnt is via DHCP. I want to know as which files need to be modified to include DHCP server IP in order that the machine gets its IP via DHCP server. Thanks in Advance. :) (1 Reply)
Discussion started by: Ashvin Gaur
1 Replies
Login or Register to Ask a Question