Re: NAT to a broadcast addess using iptables?
- From: Pascal Hambourg <boite-a-spam@xxxxxxxxxxxxxxx>
- Date: Mon, 27 Nov 2006 19:14:54 +0100
news@xxxxxxxxxxxxxxxxxx a écrit :
I'm afraid it is not possible to do this with iptables. Is your goal to
do some kind of remote wake-on-LAN ?
Indeed it is - exactly that.
The problem with sending unicast packets to a sleeping host is ARP resolution. If your router supports the 'arp' or 'ip' commands, you could try to add a static ARP entry for your target IP address on the router :
$ arp -s <target_ip_addr> <target_mac_addr>
or
$ ip neigh add <target_ip_addr> lladdr <target_mac_addr> dev <lan_iface>
.
- Follow-Ups:
- References:
- NAT to a broadcast addess using iptables?
- From: news
- Re: NAT to a broadcast addess using iptables?
- From: Pascal Hambourg
- Re: NAT to a broadcast addess using iptables?
- From: news
- NAT to a broadcast addess using iptables?
- Prev by Date: Re: NAT to a broadcast addess using iptables?
- Next by Date: Re: kubuntu ethernet setup help, please
- Previous by thread: Re: NAT to a broadcast addess using iptables?
- Next by thread: Re: NAT to a broadcast addess using iptables?
- Index(es):
Relevant Pages
|