IP pkt forwarding question.

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

 



Hi,

My linux box connects to router directly through a direct connected FE interface. The Linux default gateway points to the ip address on the router. My application needs to return all ip traffic that not destined to my linux box back to router.
For example:

Linux Box <---------> Router
10.1.1.10                10.1.1.1
default gw: 10.1.1.1
When 77.1.1.1 packet arrives to Linux box, the linux need to return the packet back to router.

Shouldn't the default gw points to router can do the job?

Thanks,
Ming

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux