Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Hi,
I was trying to configure Name and IP based virtual hosts on Apache Web Server in Feodra-8.
I'm having wireless LAN (DHCP)connection. I tried with IP's that were not allocated at that time as wlan0:1 and wlan0:2. But pinging these IP's from another system in same wireless LAN gave "Destination Host Unreachable".
How to configure it so that other systems in LAN can access my site.
In the name based virtual hosts, I named it like "site1.localhost.localdomain". But it is also not working.
HELP
May be Fedora-8 is history but kernel-2.6.29 is not.
Fedora 8 is no longer supported. (You can't get official updates.)
Quote:
Originally Posted by hifun
DHCP is managed by sysAdmin here in college.
In that case, the first thing I would suggest is confirming with your sysadmin that the IPs you've used are OK. Do that first.
A couple other things: IIRC, aliases should start with wlan0:0, wlan0:1, etc. It would also be worthwhile to run # tcpdump -i <interface> icmp on your Fedora server while pinging it to see if packets are reaching it. (They're almost certainly not, but let's check.)
anomie,
Sorry for late reply. I didn;t get a chance to talk to sysAdmin. Before using IP for wlan0:0 and wlan0:1, I tried pinging those IP's they were not allocated to any hosts by DHCP.So it should work, right?
o/p of tcpdump is:
Code:
[root@localhost ~]# !tcpdump
tcpdump -i wlan0:1 icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on wlan0:1, link-type EN10MB (Ethernet), capture size 96 bytes
11:04:59.090469 IP 172.17.12.122 > ALL-SYSTEMS.MCAST.NET: ICMP echo request, id 1, seq 2704, length 40
11:05:24.438410 IP 172.17.11.210 > ALL-SYSTEMS.MCAST.NET: ICMP echo request, id 0, seq 0, length 40
11:09:58.971906 IP 172.17.12.122 > ALL-SYSTEMS.MCAST.NET: ICMP echo request, id 1, seq 2704, length 40
3 packets captured
10 packets received by filter
0 packets dropped by kernel
[root@localhost ~]# tcpdump -i wlan0:0 icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on wlan0:0, link-type EN10MB (Ethernet), capture size 96 bytes
11:14:59.122675 IP 172.17.12.122 > ALL-SYSTEMS.MCAST.NET: ICMP echo request, id 1, seq 2704, length 40
11:15:24.309680 IP 172.17.11.210 > ALL-SYSTEMS.MCAST.NET: ICMP echo request, id 0, seq 0, length 40
2 packets captured
19 packets received by filter
0 packets dropped by kernel
When I ping these IP's from another m/c , "Destination Host unreachable" error sometimes coming from IP of that m/c only and sometimes from main DHCP server's IP address.
How does then this "tcpdump" is capturing packet ?
I didn;t get a chance to talk to sysAdmin. Before using IP for wlan0:0 and wlan0:1, I tried pinging those IP's they were not allocated to any hosts by DHCP.So it should work, right?
Here's the issue: just because you can't ping a host does not mean it isn't active. (Some people filter icmp traffic.) Not only that, you need to get this squared away with your sysadmin, because the dhcp server might issue those IPs to other clients at some point, and then you'll be playing a game of steal the IP from one another.
Quote:
Originally Posted by hifun
When I ping these IP's from another m/c , "Destination Host unreachable" error sometimes coming from IP of that m/c only and sometimes from main DHCP server's IP address.
How does then this "tcpdump" is capturing packet ?
The icmp traffic you captured with tcpdump is originating from other hosts (not yours) and going to ALL-SYSTEMS.MCAST.NET (which is apparently a multicast address for your network).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.