Esto es lo que me aparece con ifconfig. eth0 Link encap:Ethernet HWaddr 00:01:03:D1:92:B0 inet addr:192.168.0.4 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::201:3ff:fed1:92b0/10 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:16284 errors:0 dropped:0 overruns:1 frame:0 TX packets:12609 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:2557476 (2.4 Mb) TX bytes:1632552 (1.5 Mb) Interrupt:5 Base address:0x1800 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:259 errors:0 dropped:0 overruns:0 frame:0 TX packets:259 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:15932 (15.5 Kb) TX bytes:15932 (15.5 Kb) El gateway lo hago a otro servidor Linux que tiene la direccion: 192.168.0.5. Este servidor es el que tiene 2 tarjetas de red. El que yo lo quiero enmascarar solo tiene una. Esto es lo que aparece con route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 192.168.0.5 0.0.0.0 UG 0 0 0 eth0 Gracias.
participants (1)
-
Fabian Calle