Portál AbcLinuxu, 9. června 2025 09:31
xl0 = 10.10.14.11 sis0 = 192.168.0.1tento PC funguje ako router. Teda vsetko z sis0 je posiela na xl0 ...(funguje to bez problemov) No a problem je, ze nemozem pingnut 127.0.0.1 ani 192.168.0.1 napise mi ze "no route to host" V IPNAT mam nastavene :
map xl0 192.168.0.0/24 -> 10.10.14.11/32nemoze to byt kvoli tomu, ze to mam zle nastavene v IPNAT? Vdaka za rady;)
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 10.10.14.1 UGS 0 79971 xl0 10.10.14/24 link#1 UC 0 0 xl0 10.10.14.1 00:02:6f:06:a3:f5 UHLW 1 3 xl0 1189 10.10.14.11 00:0a:5e:45:c0:33 UHLW 0 5 lo0 localhost localhost UH 0 49 lo0 192.168.0 link#2 UC 0 0 sis0 192.168.0.1 00:11:5b:24:4e:8c UHLW 0 1 lo0 192.168.0.11 00:0f:b0:76:6f:17 UHLW 0 1048 sis0 940 192.168.0.88 00:e0:4c:78:21:9b UHLW 0 380 sis0 1179#cat /etc/rc.conf
ifconfig_xl0="inet 10.10.14.11 netmask 255.255.255.0" ifconfig_sis0="inet 192.168.0.1 netmask 255.255.255.0" defaultrouter="10.10.14.1" gateway_enable="YES" hostname="cesar" ipfilter_enable="YES" ipfilter_rules="/etc/ipf.rules" ipmon_enable="YES" ipmon_flags="-Dsn" ipnat_enable="YES" ipnat_rules="/etc/ipnat.rules"
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.