Results 1 to 2 of 2
I have debian wheezy with resolvconf, dnsmasq and apache2 running web server for my local domains, i have dynamic ip so the script updates the "/etc/hosts" on each new dialup ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-28-2012 #1
- Join Date
- Feb 2007
Cannot ping the local domains with ip 192.168.1.1?
new dialup connection for the new ip.
The problem is i can ping the global net and the local domain with the ip 127.0.0.1 like one from /etc/hosts "me.example.net"
but cannot ping the local domains with the ip address 192.168.1.1 like domains from the /etc/hosts.dnsmasq:
PING example.dynet.com (192.168.1.1) 56(84) bytes of data.
From 58-27-222-13.wateen.net (188.8.131.52) icmp_seq=62 Packet filtered
From 58-27-222-13.wateen.net (184.108.40.206) icmp_seq=73 Packet filtered
From 58-27-222-13.wateen.net (220.127.116.11) icmp_seq=79 Packet filtered
--- shams.dynet.com ping statistics ---
7 packets transmitted, 0 received, 100% packet loss, time 5999ms
18.104.22.168 me.example.net example.net
192.168.1.1 me.example.net example.dynet.com example.linkpc.net
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
browse-domains=me.example.net, example.dynet.com, example.linkpc.net
# 2001::81:1 test.local
Last edited by shamsat; 08-28-2012 at 07:14 AM.
- 08-29-2012 #2
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
You need to edit your firewall rules (iptables and/or ip6tabes) to allow icmp packets. Also, you may need to turn off a flag in /proc/sys/net/ipv4/icmp_echo_ignore_all with the command "echo 0 >/proc/sys/net/ipv4/icmp_echo_ignore_all" (as root or sudo).
If that doesn't work, then your router may be blocking icmp packets and replies, in which case you will need to alter that to all local pinging of your hosts/servers. You still want to block pings from outside your network as that is a common source of denial-of-service attack.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!