how to make ubuntu as IPV6 relay agent

512 views
Skip to first unread message

aditya kumar

unread,
Apr 2, 2014, 6:41:10 AM4/2/14
to ipv6-i...@googlegroups.com
Dear All,

I am trying to configure Ubuntu machine as dhcp realy agent for IPv6
routing.
I couldn't find any config file for isc-dhcp-realy6.conf while downloading
Isc-dhcp-reay module .

So could you help me ,how can I configure ubuntu 12.04 as a dhcpv6 relay
agent.

In my N/W configuration interface eth1 receives dhcp request from client
and forward on eth0 interface to DHCP sever.

I added already DHCP server and interface in isc-dhcp-realy file.


Please advise me to resolve the problem.

Tried with this command :
/usr/sbin/dhcrealy -d -6 -I 2001:db8:0:2::100 eth1 2001:db8:0:3::10 eth0

Regards,
Aditya

Srinivas Chendi

unread,
Apr 2, 2014, 7:35:19 PM4/2/14
to ipv6-i...@googlegroups.com
Dear Aditya,

I have forwarded your query to my contact at ISC and waiting for a
response. As soon as I hear from them, I will let you know.

Regards
Sunny
> --
> You received this message because you are subscribed to the Google
> Groups "IPv6 in India" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ipv6-in-indi...@googlegroups.com
> <mailto:ipv6-in-indi...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

Amit Kumar

unread,
Apr 3, 2014, 1:00:48 AM4/3/14
to ipv6-i...@googlegroups.com
Hi Aditya,

try this

./dhcrelay -6 -d -I -l eth1 -u eth0

where  eth0 is the client facing interface and eth1 is dhcp server facing interface.

Thanks

Amit Kumar,
Scientific Officer/ Scientist-SB
Ministry of Communications & Information Technology
Department of Information Technology
National Informatics Center
http://home.nic.in/

Mob: 9910611621



For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "IPv6 in India" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ipv6-in-india+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Thanks & Regards,

Amit Kumar,
Scientific Officer/ Scientist-SB
Ministry of Communications & Information Technology
Department of Information Technology
National Informatics Center
http://home.nic.in/

Mob: 9910611621

aditya kumar

unread,
Apr 3, 2014, 4:55:11 AM4/3/14
to ipv6-i...@googlegroups.com, delhi...@gmail.com
Dear Amit,

No luck for me .Does it work for you ?
Here is the logs 
/usr/sbin/dhcrelay -6 -d -I -l eth1 -i eth0 
Usage: dhcrelay [-4] [-d] [-q] [-a] [-D] 
                     [-A <length>] [-c <hops>] [-p <port>] 
                     [-pf <pid-file>] [--no-pid] 
                     [-m append|replace|forward|discard] 
                     [-i interface0 [ ... -i interfaceN] 
                     server0 [ ... serverN] 

       dhcrelay -6   [-d] [-q] [-I] [-c <hops>] [-p <port>] 
                     [-pf <pid-file>] [--no-pid] 
                     -l lower0 [ ... -l lowerN] 
                     -u upper0 [ ... -u upperN] 
       lower (client link): [address%]interface[#index] 
       upper (server link): [address%]interface 

I tried in this way also ,no Luck.
/usr/sbin/dhcrelay -d  -q -6 -I eth0 -pf /var/log/temp.pid -l 2001:db8:0:2::2%eth1 -u 2001:db8:0:3::3%eth0

Does ISC-DHCP-RELAY module work or just place holder because when I updated the package ,no isc-dhcp-relay6.conf or isc-dhcp-real6 file created by default.

Pls help me if somebody has resolved already the same pbm.

Regards,
Aditya


--
You received this message because you are subscribed to a topic in the Google Groups "IPv6 in India" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ipv6-in-india/QvyJG-6izXE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ipv6-in-indi...@googlegroups.com.

Ambarish Deshmukh

unread,
Apr 3, 2014, 6:48:06 AM4/3/14
to ipv6-i...@googlegroups.com
Hi Aditya,

I have not worked on relay agent, however while downloading and configuring wide-dhcpv6-server package from synaptic (I am using Debian GNU Linux 7.0 version) I have seen package for dhcpv6-relay, you can check man page by installing that relay package

Did you try that? if already tried then kindly ignore.

Thanks & Regards
Ambarish


To unsubscribe from this group and stop receiving emails from it, send an email to ipv6-in-indi...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Regards,
Ambarish
Every man is the architect of his own fortune...

aditya kumar

unread,
Apr 3, 2014, 6:53:31 AM4/3/14
to ipv6-i...@googlegroups.com
Thanks,Mr Amit's suggestion is working and resolve the problem.

Pls note his comment for future reference.





Amit Kumar

unread,
Apr 3, 2014, 7:34:21 AM4/3/14
to ipv6-i...@googlegroups.com
Hi Aditya,

Sorry, I don't have any idea regarding that as I have tested their script. I would definately let you know once I tested them..
Reply all
Reply to author
Forward
0 new messages