Messages in this thread | ![/](/images/icornerl.gif) | | Date | Fri, 19 Apr 1996 09:07:51 -0400 (EDT) | From | Nick Simicich <> | Subject | Dummy device - does it establish another local address? |
| |
-----BEGIN PGP SIGNED MESSAGE-----
A friend of mine has been using the dummy device to establish another local address for his system. He does this so that he can have multiple IP addresses - so that the NCSA server can use multiple document roots.
I do this myself on 1.2.11.
Recently, he upgraded from 1.2.8 to to 1.3.88. His dummy device quit working, and he asked me to help.
I did the usual stuff:
1. Created a dummy device by loading a dummy.o module. I did a make modules in his source tree and loaded the module from there to make sure that it was at the right level.
2. Did an ifconfig to give the dummy device the right IP address.
3. Added a host route to the dummy device for that particular IP address.
4. Set up an arp for that IP address so that it would answer to it on the ethernet. This was on the eth1 interface, and the arp command he had wouldn't work, since he has two ethernet cards, and was issuing an old arp ioctl that was not specifying the interface. I got an old copy of arp and hacked in a '-D interface' parameter to it so that I could set an arp on eth1, and verified it by using cat /proc/net/arp (A good reason to make those pseudo-files human readable). Using tcpdump, I verified that the arp was actually working (I had previously verified that no one was answering the who-has).
However, I can't ping the address, and I can't set up a TCP connection to that address. If I try to ping the address from the system that has the dummy device, I get
ping: sendto: Operation not permitted ping: wrote xxxxxxxx.yyy 64 chars, ret=-1
- From other systems, the echo response never comes out.
The only thing I can assume is the address that is ifconfig'ed into the dummy device is no longer being added to the list of local IP addresses.
Is this a known bug, or should I dig further into the code?
-----BEGIN PGP SIGNATURE----- Version: 2.6.2 Comment: Processed by mkpgp1.6, a Pine/PGP interface.
iQCVAwUBMXeQBBRmU0oGr+olAQH/WAP7Be028svwnXlDy4qUgOSsxANyZXDl5KS8 0urDQBcxzUl7+CPDHJ0vSsG/fCNvPSIzQiigQ4UtLSjKdlJoUCQn7FJmFHwNxASt bxuS5GRRSIBlauGHIvkYaO6ks65bzq66bvOTGSw6xFfLEfaE4H6ard4lmW1adAem 6Fx1g5PRfKg= =I3a0 -----END PGP SIGNATURE-----
Nick Simicich - njs@scifi.emi.net - (last choice) njs@bcrvm1.vnet.ibm.com http://scifi.emi.net/njs.html -- Stop by and Light Up The World!
| ![\](/images/icornerr.gif) |