[Asterisk-Users] hdlc setup routing question
tilghman at mail.jeffandtilghman.com
Mon Jun 7 21:24:28 MST 2004
On Monday 07 June 2004 17:22, Michael A Rowley wrote:
> WAN IP’s Far end (Gateway) 22.214.171.124
> Near end (local interface) 126.96.36.199
> Subnet mask 255.255.255.252
> Encapsulation Frame Relay
> Maintenance Protocol ANNEX D (ANSI)
> DLCI 44
> Ethernet IP on Router is 188.8.131.52 subnet mask 255.255.255.248
> Usable IP’s are 184.108.40.206 to 220.127.116.11
> DNS servers
> Primary 18.104.22.168
> Secondary 22.214.171.124
> So, I need pointopoint from 126.96.36.199 to 188.8.131.52...
> Now, 184.108.40.206 belongs to sprint... I can't use it... but it is
> being assigned to pvc0 to complete the point to point protocol for
> frame relay.
> 220.127.116.11 is the router IP address that sprint set up on my
> adtran. Thats fine. So I need the ip address for my box to
> actually be 18.104.22.168 so that I can actually reach it... I
> tried the setup without 22.214.171.124, but I could not reach the
> box at all at 126.96.36.199. It would respond to a ping, but could
> not ssh into it, or anything else. My guess is that 188.8.131.52
> is protected by a firewall at sprint, and 184.108.40.206-38 (my ip
> addresses) are set up as DMZ's.
> With this setup, I can ssh 220.127.116.11, if 18.104.22.168 is set
> up, but not without it.....
The route(8) command is deprecated. Don't use it. What you should
be using instead is the "ip route" command:
# ip route add default via 22.214.171.124 src 126.96.36.199
This sets packets originating on your gateway machine to have the
source address of 188.8.131.52 even if the packets are going out the
interface with the 184.108.40.206 address.
More information about the asterisk-users