I think i got a ?bug? PC and opensolaris box are on the same network 192.168.0.0/255. opensolaris box has another interface with 10.10.10.3/24. Routing is disabled (i hope :)
Here is configuration of opensolaris: # /usr/sbin/ifconfig -a lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2 inet 192.168.0.2 netmask ffffff00 broadcast 192.168.0.255 ether 0:30:48:de:f2:cc e1000g1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3 inet 10.10.10.3 netmask ffffff00 broadcast 10.10.10.255 ether 0:30:48:de:f2:cd lo0: flags=2002000848<LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1 inet6 ::1/128 # #routeadm Configuration Current Current Option Configuration System State --------------------------------------------------------------- IPv4 routing disabled disabled IPv6 routing disabled disabled IPv4 forwarding disabled disabled IPv6 forwarding disabled disabled Routing services "route:default ripng:default" Routing daemons: STATE FMRI disabled svc:/network/routing/ndp:default disabled svc:/network/routing/route:default disabled svc:/network/routing/rdisc:default disabled svc:/network/routing/legacy-routing:ipv4 disabled svc:/network/routing/legacy-routing:ipv6 disabled svc:/network/routing/ripng:default # # ndd -get /dev/tcp tcp_rev_src_routes 0 # # ndd -get /dev/tcp ip_forwarding 0 # #svcs -a |grep ipf disabled 20:48:57 svc:/network/ipfilter:default # ipnat -l ioctl(SIOCGNATS): I/O error # netstat -rn Routing Table: IPv4 Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ---------- --------- default 10.10.10.1 UG 6 21369 10.10.10.0 10.10.10.3 U 3 3 e1000g1 127.0.0.1 127.0.0.1 UH 4 7065 lo0 192.168.0.0 192.168.0.2 U 8 11479 e1000g0 But i can ping from PC with IP 192.168.0.43 to IP 10.10.10.3 on opensolaris box!!! Why?? I know FreeBSD need an sysctl net.inet.ip.forwarding=1 to forward between interfaces, but what with opensolaris?? i thought ndd -get /dev/tcp ip_forwarding -> 0 is ok to do not forward? Or? Here data from PC with 192.168.0.42: C:\Users\jq>ipconfig Windows IP Configuration Ethernet adapter Local Area Connection 2: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : home.org IPv4 Address. . . . . . . . . . . : 192.168.0.43 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.0.2 Tunnel adapter isatap.{5D96207A-E34A-478E-A83E-5BD236BF1CEA}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Tunnel adapter isatap.home.org: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : home.org Tunnel adapter Local Area Connection* 11: Connection-specific DNS Suffix . : IPv6 Address. . . . . . . . . . . : 2001:0:5ef5:79fd:2035:c50:b1dd:6d3b Link-local IPv6 Address . . . . . : fe80::2035:c50:b1dd:6d3b%15 Default Gateway . . . . . . . . . : :: C:\Users\jq>netstat -r =================================================== Interface List 13...00 26 18 a7 57 df ......Realtek PCIe GBE Family Controller 11...00 26 18 a7 69 e9 ......Realtek PCI GBE Family Controller 1...........................Software Loopback Interface 1 12...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter 14...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2 15...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface IPv4 Route Table =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 192.168.0.2 192.168.0.43 10 127.0.0.0 255.0.0.0 On-link 127.0.0.1 306 127.0.0.1 255.255.255.255 On-link 127.0.0.1 306 127.255.255.255 255.255.255.255 On-link 127.0.0.1 306 192.168.0.0 255.255.255.0 On-link 192.168.0.43 266 192.168.0.43 255.255.255.255 On-link 192.168.0.43 266 192.168.0.255 255.255.255.255 On-link 192.168.0.43 266 224.0.0.0 240.0.0.0 On-link 127.0.0.1 306 224.0.0.0 240.0.0.0 On-link 192.168.0.43 266 255.255.255.255 255.255.255.255 On-link 127.0.0.1 306 255.255.255.255 255.255.255.255 On-link 192.168.0.43 266 =========================================================================== Persistent Routes: None IPv6 Route Table =========================================================================== Active Routes: If Metric Network Destination Gateway 15 58 ::/0 On-link 1 306 ::1/128 On-link 15 58 2001::/32 On-link 15 306 2001:0:5ef5:79fd:2035:c50:b1dd:6d3b/128 On-link 15 306 fe80::/64 On-link 15 306 fe80::2035:c50:b1dd:6d3b/128 On-link 1 306 ff00::/8 On-link 15 306 ff00::/8 On-link =========================================================================== Persistent Routes: None C:\Users\jq>ping 10.10.10.3 Pinging 10.10.10.3 with 32 bytes of data: Reply from 10.10.10.3: bytes=32 time<1ms TTL=255 --------------------------------------- Please help me not to break my head :) Tnx -- This message posted from opensolaris.org _______________________________________________ networking-discuss mailing list networking-discuss@opensolaris.org