Re: Forcing packets on specific interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> >> What's your goal, anyway?
> 
> I want to test a router with a single PC.
> 
Setup bad network routes on the router and the PC.
You can get packets through a router easily enough
but you might not get them back.

PC
eth0 192.168.1.1
eth1 192.168.2.1
route 192.168.3.0/24 192.168.1.2
route 192.168.4.0/24 192.168.2.2

Router
eth0 192.168.1.2
eth1 192.168.2.2
route 192.168.3.0/24 192.168.2.1
route 192.168.4.0/24 192.168.1.1

Now a ping 192.168.3.1 from the PC with send the packet
into a nice routing loop.
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux