Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Problem is: While I can ping from the OpenFiler VM to an outside public IP and I can also ping my home PC (192.168.100.4), I can't for some reason ping the openfiler VM from my home PC (i.e.: I can't connect to it's admin interface)
- iptables on openfiler is empty and all default policies are set to allow
- ip forwarding is enabled on the KVM host. the forward chain on the host has a blanket ACCEPT statement for src 0.0.0.0 dst 0.0.0.0
- I have a route on my home PC for the 192.168.100.0 network as shown in the diagram
- Nothing in /etc/hosts.deny or /etc/hosts.allow on openfiler
Problem is: While I can ping from the OpenFiler VM to an outside public IP and I can also ping my home PC (192.168.100.4), I can't for some reason ping the openfiler VM from my home PC (i.e.: I can't connect to it's admin interface)
- iptables on openfiler is empty and all default policies are set to allow
- ip forwarding is enabled on the KVM host. the forward chain on the host has a blanket ACCEPT statement for src 0.0.0.0 dst 0.0.0.0
- I have a route on my home PC for the 192.168.100.0 network as shown in the diagram
- Nothing in /etc/hosts.deny or /etc/hosts.allow on openfiler
TIA
Is ip forwarding enabled in the /etc/sysctl.conf file?
Is ip forwarding enabled in the /etc/sysctl.conf file?
-C
With all due respect: did you read my problem description or even have a look at my diagram? My guess would be no I found the problem: I got curious so I started a continuous ping from my home PC and started tcpdump on the VM and noticed while I was getting a ping reply on the home PC, I wasn't seeing anything in tcpdump. I had a look at the routing table again on the home PC and noticed that the 192.168.100.0/24 network had my local NIC as it's gateway. After a few minutes I realized that my adapter on the home PC (for some reason) had the IP 192.168.100.3 IP assigned to it. God knows why or when I did that.. it obviously caused problems. Once the IP was removed, pings were getting through.
Sorry you took it the wrong way, you're obviously very sensitive to what people tell you. When I started my sentence with "with all due respect", I really did mean it. I was just a little shocked you didn't clue to the fact IP forwarding was enabled based on 3 different hints:
1. My diagram clearly shows IP forwarding is enabled (not only is it marked on the diagram but it's written in red instead of black lettering)
2. My problem description clearly explains IP Forwarding is enabled. Here's what I said word for word "ip forwarding is enabled on the KVM host. the forward chain on the host has a blanket ACCEPT statement for src 0.0.0.0 dst 0.0.0.0"
3. Maybe less obvious, but I did also clearly state pings work one way (from OpenFiler VM to home PC) just not the other way.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.