how to run relay with same interfaces?

ameen.shajahan at wipro.com ameen.shajahan at wipro.com
Thu Jun 28 05:55:38 UTC 2012


Hi all,
Consider the test setup below.

Server--------------Cisco switch--------------Relay
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     Windows PC


For server the interface is eth0
For relay it needs two interfaces so I have two interfaces like eth0 and eth0:1(virtual interface)

ifconfig in server side:
---------------------------
# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:60:43:60:A6:4A
          inet addr:44.44.4.1  Bcast:44.255.255.255  Mask:255.0.0.0
          inet6 addr: 3ffe:501:ffff:117::/64 Scope:Global

ifconfig in relay side
----------------------------
eth0      Link encap:Ethernet  HWaddr 00:60:43:80:41:7E
          inet addr:55.55.5.1  Bcast:55.255.255.255  Mask:255.0.0.0
          inet6 addr: fe80::260:43ff:fe80:417e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:108977 errors:0 dropped:0 overruns:0 frame:0
          TX packets:44065 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:256
          RX bytes:80418517 (76.6 MiB)  TX bytes:3267555 (3.1 MiB)

eth0:1    Link encap:Ethernet  HWaddr 00:60:43:80:41:7E
          inet addr:44.44.4.10  Bcast:44.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

Server running fine and waiting for packets.
But while running relay it throw error below.

./dhcrelay -4 -d -i eth0:1 -I eth0 44.44.4.1
Internet Systems Consortium DHCP Relay Agent 4.2.3
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Bind socket to interface: No such device


I would like to know whether ISC code allow to run relay with same interfaces????
Eventhough I created two interfaces like eth0 ans eth0:1(virtual interfaces),its throwing error.
Please let me know.


Ameen




Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20120628/31c28314/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 249 bytes
Desc: image002.png
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20120628/31c28314/attachment-0001.png>


More information about the dhcp-users mailing list