Solaris Virtual Interface Problem in DHCP


 
Thread Tools Search this Thread
Special Forums IP Networking Solaris Virtual Interface Problem in DHCP
# 1  
Old 01-07-2009
Data Solaris Virtual Interface Problem in DHCP

Hi all,

I am experiencing a problem with dhcp broadcast packages. these broadcast packages are seen on bge1 and bge1:1 interfaces but somehow they are not seen at bge771001 interface which is second virtual interface on the bge1 interface.

I have a server on which I configured it as working also a dhcp server. this server has two virual interfaces on bge1 interface and I configured the dhcp server to reply for requests coming on the second virtual interface.

the ifconfig -a is like below for bge1 and it's virtual intervaces:

bge1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 192.168.100.140 netmask ffffe000 broadcast 192.168.127.255
groupname MNIC_LAN_A
ether 0:3:ba:1c:ab:64
bge1:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 3
inet 192.168.101.140 netmask ffffe000 broadcast 192.168.127.255
bge771001: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 index 4
inet 192.168.64.140 netmask ffffe000 broadcast 192.168.95.255
ether 0:3:ba:1c:ab:64


here, the dhcp server has a dhcp-network table for 192.168.64.0 network so it is supposed to reply to requests on this interface (bge771001).

On the client side I have a dummy server which has nothing in it. It only broadcasts its MAC whenever it is restarted, so nothing can be done on client side like snoop, tcpdump etc... This client is going to get an IP from 192.168.64.0 network.

I run the in.dhcp command in debug mode for toubleshooting and I get the below output.It is only getting broadcast for bge1 and bge1:1 virtual interface. What I don't understand is why it is not getting broadcast packages at the bge771001 virtual interface while it can get these at bge1 and bge1:1 interfaces? Smilie

/usr/lib/inet/in.dhcpd -dv -i bge1,bge1:1,bge771001
[root@om-00 /]>> /usr/lib/inet/in.dhcpd -dv -i bge1,bge1:1,bge771001

WARNING: Disabling duplicate IP address detection!

49646945: Daemon Version: 3.5
49646945: Maximum relay hops: 4
49646945: Run mode is: DHCP Server Mode.
49646945: Datastore resource: SUNWfiles
49646945: Location: /var/dhcp
49646945: DHCP offer TTL: 300
49646945: BOOTP compatibility enabled.
49646945: ICMP validation timeout: 1000 milliseconds, Attempts: 1.
49646945: Maximum concurrent clients: 2048
49646945: Maximum threads: 512
49646945: Read 5 entries from DHCP macro database on Wed Jan 7 10:35:17 2009
49646945: Monitor (0003/bge1) started...
49646945: Thread Id: 0003 - Monitoring Interface: bge1 *****
49646945: MTU: 1500 Type: SOCKET
49646945: Broadcast: 192.168.127.255
49646945: Netmask: 255.255.224.0
49646945: Address: 192.168.100.140
49646945: Monitor (0004/bge1:1) started...
49646945: Thread Id: 0004 - Monitoring Interface: bge1:1 *****
49646945: MTU: 1500 Type: SOCKET
49646945: Monitor (0005/bge771001) started...
49646945: Broadcast: 192.168.127.255
49646945: Thread Id: 0005 - Monitoring Interface: bge771001 *****
49646945: Netmask: 255.255.224.0
49646945: MTU: 1500 Type: SOCKET
49646945: Address: 192.168.101.140
49646945: Broadcast: 192.168.95.255
49646945: Netmask: 255.255.224.0
49646945: Address: 192.168.64.140
49646bfd: Datagram received on network device: bge1:1(limited broadcast)
49646bfd: Datagram received on network device: bge1(limited broadcast)
49646bfd: bge1(limited broadcast): There is no 192.168.96.0 dhcp-network table for DHCP client's network.
49646bfd: bge1:1(limited broadcast): There is no 192.168.96.0 dhcp-network table for DHCP client's network.
49646bff: Datagram received on network device: bge1:1(limited broadcast)
49646bff: Datagram received on network device: bge1(limited broadcast)
49646bff: bge1(limited broadcast): There is no 192.168.96.0 dhcp-network table for DHCP client's network.
49646bff: bge1:1(limited broadcast): There is no 192.168.96.0 dhcp-network table for DHCP client's network.



and moreover I snooped the bge1 interface and always I got the following output. there are always dhcp discover packages and dhcp never responces to these since It doesn't see any broadcast at the bge771001 interface.

[root@om-00 /]>> snoop -d bge1 dhcp
Using device /dev/bge1 (promiscuous mode)
OLD-BROADCAST -> BROADCAST DHCP/BOOTP DHCPDISCOVER
OLD-BROADCAST -> BROADCAST DHCP/BOOTP DHCPDISCOVER
OLD-BROADCAST -> BROADCAST DHCP/BOOTP DHCPDISCOVER
OLD-BROADCAST -> BROADCAST DHCP/BOOTP DHCPDISCOVER
OLD-BROADCAST -> BROADCAST DHCP/BOOTP DHCPDISCOVER


I was suspicious about the /var/dhcp anf /tftpboot and already did doublecheck them but since the dhcp server doesn't reply with dhcp offer to dhcp discover requests, these are not in use yet.

I already tried to some troubleshooting steps like changing the cable between the client and the server, reconfiguring the dhcp server... but none of them helped Smilie

Do anyone know what causes the broadcast packages to be distributed between the physical interface and the virtual interfaces on the same physical interface?

I really appreciate for any comments or ideas.

best regards
//ironoxide
# 2  
Old 01-07-2009
your interface bge771001 is not a virtual interface like bge1:1. bge771001 is a vlan and only vlan tagged packages (in the same vlan) are seen from your vlan interface...
# 3  
Old 01-07-2009
Hi DukeNuke2,

thank you very much for your comment which let me see what is wrong in network Smilie)

I changed the ports on the switch which is between the dhcp server and client from tagged to untagged, and it somehow worked.

btw I had already this tagged/untagged change but It hadn't worked that time. Also I had used direct cable between the dhcp server and client before and this direct cable even hadn't worked.

it is now working which is good enough Smilie)

thank you again
br
//ironoxide
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. IP Networking

DHCP Server on Vxworks multi interface question

Hi, We currently operate a DHCP Server on Vxworks system. It seems that the server is functioning only over the boot interface. While trying to use it on a different interface the DHCP client messages seems to reach the interface but stay without response. From a... (1 Reply)
Discussion started by: zohara
1 Replies

2. Ubuntu

dhcp status of an interface

hi, can anyone tell me how to check if my interface is controlled by dhcp? i tried with ifconfig command ifconfig interfacename dhcp status but its showing unknown host : dhcp error. (2 Replies)
Discussion started by: v1jay
2 Replies

3. Solaris

Command line Interface or GUI Interface not shown on solaris

Dear all, I am a newbie in solaris and I need your advice. I have a Solaris version 5.9 installed on Sunfire V240. I am able to ssh the machine from putty remotely. My problem is that I cannot see the display from KVM switch I have connected to it. I need also to be able to see the GUI... (2 Replies)
Discussion started by: mbouster
2 Replies

4. AIX

Virtual interface on AIX

Hi, I am totally new to AIX. I would like to know how to create virtual interface on AIX machine. Thanks, Pooja (4 Replies)
Discussion started by: pooja84k
4 Replies

5. IP Networking

Connecting to DHCP network with Realtek interface

I have a Realtek 8139 interface in one of my machines and it will not connect to the network. /etc/rc.conf contains ifconfig_rl0="DHCP" and "rl0" was obtained from a dmesg. A network interface restart yields the following: # /etc/rc.d/netif restart Stopping network: lo0 rl0 fwe0 plip0. rl0: no... (3 Replies)
Discussion started by: figaro
3 Replies

6. Shell Programming and Scripting

virtual interface

How would i create virtual interface in linux to configure more than one IP address for a physical interface? any help wll be appreciated. https://www.unix.com/images/misc/progress.gif (1 Reply)
Discussion started by: salil2012
1 Replies

7. Solaris

network interface problem solaris 2.5

Hi guys, Hope somebody can help me on this. I have a Sun Sparc 20 workstation and it has a boot problem. During boot, an error message " ifconfig:socket: Bad File Number" come up and the workstation hang (cannot boot). I did boot -s and checked using ifconfig -a command but i got the same... (0 Replies)
Discussion started by: kroegand
0 Replies

8. HP-UX

Traceroute on virtual interface

Hello all, I have configured a virtual interface using ifconfig on HP UX 11.11. When i try to do traceroute with -i option i get * * * from traceroute. i use $traceroute -i lan0:1 my-gateway traceroute to my-gateway (15.70.180.1), 30 hops max, 40 byte packets 1 * * * 2 * * * 30 * *... (2 Replies)
Discussion started by: supersumanth
2 Replies

9. HP-UX

Adding virtual Interface on HP UX

Hello all, I want to add a new virtual interface on HP-UX B.11.11 U 9000/800 box. I know that ifconfig can be used to add the Virtual interface. BUt i do not know the exact syntax. it some times gives plumb error if i try to add # ifconfig vif0 10.1.10.1 up plumb error: No such file... (3 Replies)
Discussion started by: supersumanth
3 Replies

10. HP-UX

HP-UX - how to create virtual interface

OS - HP-UX B.10.20 A 9000/777 Anyone know how to set up a virtual interface on HP-UX? I've looked quickly through docs.hp.com and searched this site. No luck. And my HP Guru is sleeping today. (4 Replies)
Discussion started by: thehoghunter
4 Replies
Login or Register to Ask a Question