FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 06-07-2011, 05:36 PM
Timothy Murphy
 
Default Looking for help with packet-chasing ...

I'm wondering if there is some program that will tell me
where packets are travelling around my home LAN?

I tried swapping my server to another machine on the LAN
(an HP MicroServer), attaching the ADSL line to the MicroServer.
This worked fine on the MicroServer, with access to the internet, etc.
But I lose the connection from my laptop(s) when I do this.

I guess I need to read a tutorial on route (or perhaps ip?).
I changed
option routers 192.168.2.2;
to the new server in /etc/dhcpd.conf (re-starting the dhcpd service)
and changed the old address to the new everywhere I could find it.

The old address is mentioned as "option routers" in some leases files,
but I'm not sure if I can safely delete these?

But I'm wondering if the path taken by packets
is completely determined by the route tables?

Any suggestions for further reading gratefully received.

--
Timothy Murphy
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 06-08-2011, 04:32 AM
Tim
 
Default Looking for help with packet-chasing ...

On Tue, 2011-06-07 at 18:36 +0100, Timothy Murphy wrote:
> I'm wondering if there is some program that will tell me
> where packets are travelling around my home LAN?
>
> I tried swapping my server to another machine on the LAN
> (an HP MicroServer), attaching the ADSL line to the MicroServer.
> This worked fine on the MicroServer, with access to the internet, etc.
> But I lose the connection from my laptop(s) when I do this.

What do you lose? Connection to the internet, connection to your new
router?

Did you take the clients off-line and back on again, or renew their
leases (done on the clients)? If not, they'll carry on using what they
found out about when they first connected.

> I guess I need to read a tutorial on route (or perhaps ip?).
> I changed
> option routers 192.168.2.2;
> to the new server in /etc/dhcpd.conf (re-starting the dhcpd service)
> and changed the old address to the new everywhere I could find it.

"option routers" will set the default gateway to all DHCP clients,
assuming that those clients don't have DHCP client configuration files
that ignore some aspects of the DHCP server information.

> The old address is mentioned as "option routers" in some leases files,
> but I'm not sure if I can safely delete these?

If you take the clients off-line and go back on-line (ifup/ifdown), or
tell them to renew their lease (*), they should poll the DHCP server to
check for changes to configurations.

* "dhclient -r -l" probably should do it, but it's a long time since I
manually did this, and I don't want to try doing it at the moment while
I'm in the middle of doing things. See the dhclient man file.

As a brute force method. Take them off-line, delete their configuration
information, put them back on-line.

--
[tim@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored. I
read messages from the public lists.



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 04:18 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org