RE: [SLUG] rule deletion

From: Ken Elliott (kelliott11@cfl.rr.com)
Date: Fri Sep 12 2008 - 07:00:52 EDT


Try this:

Plug the DESKTOP into the second router. Since it has a different MAC
address, it will get a different IP address.
Change the IP assigned to the Laptop MAC.

I'm making the assumption that Router 2 is plugged into Router 1, per your
illustration.

Ken Elliott

=====================

-----Original Message-----
From: slug@nks.net [mailto:slug@nks.net] On Behalf Of Eben King
Sent: Thursday, September 11, 2008 4:23 PM
To: SLUG Mailing List
Subject: [SLUG] rule deletion

I wanted to SSH into my laptop. So I ran sshd on it, and added a
port-forwarding rule to the second router; both are Actiontec MI424WR (the
kind Verizon sends):

(( internet )) -- #1 -- 192.168.1.x -- #2 -- 192.168.2.x
                         desktop here laptop here

I also added a DHCP rule so router #2 will always give the laptop the same
address. Except I screwed up and added it with the wrong address (1.x
instead of 2.x). Those rules only appear (for deletion, modification, etc.)
when they're active, and in normal operation this one will never be active,
since it won't give out addresses that aren't in its subnet. It won't
overwrite the old rule with a new one for the same MAC; instead it rejects
the new rule.

I've tried disconnecting its WAN port, setting its subnet to 1.x and ifdown
/ ifup on the laptop's ethernet port, but no dice -- the laptop connects as
"new-host-2" with _not_ the address I think was in the wrong rule.

How can I see a list of rules and clear out the wrong one(s)? Is there any
hacking to be done on an exported settings file, or is it all unintelligible
binary crud?

-- 
-eben   QebWenE01R@vTerYizUonI.nOetP   royalty.mine.nu:81

An idea that is not dangerous is unworthy of being called an idea at all. -Oscar Wilde ----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:52:41 EDT