Jump to content
2 posts in this topic

Recommended Posts

I have 2 network connections

eth0 - Lan (over 4`000 users) many sites in www......lan domens

  • IP 192.168.140.13
  • Gateway 192.168.140.1
  • DNS 192.168.140.1

eth1 - Wan (internet)

  • IP 10.168.5.1
  • Gateway 10.168.5.1
  • DNS 212.188.4.10

If i manualy configured this connetctions

Internet addreses resolving correct

lan domens (like www.forum.lan etc) not finding

 

Routing tables-

Internet:
Destination		Gateway			Flags	Refs	  Use  Netif Expire
default			10.168.5.1		 UGSc	   15	  113	en0
10.168.5/24		link#5			 UCS		 1		0	en0
10.168.5.1		 0:4:e2:7f:20:2a	UHLW	   14		0	en0   1156
10.168.5.107	   localhost		  UHS		 0		2	lo0
127				localhost		  UCS		 0		0	lo0
localhost		  localhost		  UH		  9	 2383	lo0
169.254			link#5			 UCS		 0		0	en0
192.168.140		link#4			 UCS		 3		0	en1
192.168.140.1	  0:0:cd:9:72:72	 UHLW		1		0	en1   1199
192.168.140.13	 0:11:95:26:8b:8c   UHLW		1	 3404	en1	987
192.168.140.15	 localhost		  UHS		 0		2	lo0
192.168.140.134	8:0:46:bf:4:fa	 UHLW		0		6	en1   1101

 

 

 

if disable Wan NIC - lan domens working fine

Routing tables

Internet:
Destination		Gateway			Flags	Refs	  Use  Netif Expire
default			140-1.lan		  UGSc		3		7	en1
127				localhost		  UCS		 0		0	lo0
localhost		  localhost		  UH		 13	 7526	lo0
169.254			link#4			 UCS		 0		0	en1
192.168.0		  140-1.lan		  UGSc		0		0	en1
192.168.0/16	   140-1.lan		  UGSc		5	  131	en1
192.168.140		link#4			 UCS		 4		0	en1
140-1.lan		  0:0:cd:9:72:72	 UHLW		2		2	en1   1200
140-15.lan		 localhost		  UHS		 0		9	lo0

 

 

In WinXP work this---

configure wan conn.:

  • IP 10.168.5.1
  • Default gateway 10.168.5.1
  • DNS 212.188.4.10

configure lan conn.:

  • IP 192.168.140.13
  • DNS 192.168.140.1

!!!! Without gateway!!!!

 

run cmd.exe

  • route -p add 192.168.0.0 MASK 255.255.0.0 192.168.140.1

all domens (wan and lan) resolving correct!!!

 

in osx i try same

(just command other - route -v add -net 192.168.0/16 192.168.140.1 255.255.255.0)

not work :D

 

 

:P How configure this connections correct?

Link to comment
https://www.insanelymac.com/forum/topic/14058-routing-tables-for-2-network/
Share on other sites

×
×
  • Create New...