I have a network where by I have been given a LAN block 220.127.116.11/252 and serial IP by my ISP. I have successfully configured one of the 550 ports with the correct serial IP addr and gave a default route to the remote serial IP so from the 550 I can ping the world. So then I added the first IP addr of the LAN block to the same interface as the serial IP addr. I would have thought by enabling "ip routing" I would then be able to then use this to get out to the world for my LAN, but for not. Any suggests or is this just not doable with the SG550? Attached is a simple network diagram. Any help is greatly appreciated!
Basic commands run on the XG550:
sw01# ip routing
sw01# interface xg 1/0/11
sw01# ip address <my serial address>
sw01# ip address 18.104.22.168 255.255.255.252 <== this is the first IP addr of my LAN block
sw01# ip route 0.0.0.0 0.0.0.0 <serial address of ISP>
sw01#show ip route
Maximum Parallel Paths: 1 (1 after reset)
IP Forwarding: enabled
Codes: > - best, C - connected, S - static,
R - RIP
S 0.0.0.0/0 [1/4] via <ISP serail>, 01:12:43, te1/0/11
C 10.255.255.0/24 is directly connected, oob
C 22.214.171.124/29 is directly connected, te1/0/11
C <serial IP subnet> is directly connected, te1/0/11
sw01#show ip interface
IP Address I/F I/F Status Type Directed Prec Redirect Status
------------------ --------- ---------- ------- --------- ---- -------- ------
10.255.255.6/24 oob UP/UP Static disable No enable Valid
126.96.36.199/29 te1/0/11 UP/UP Static disable No enable Valid
<serial ip addr> te1/0/11 UP/UP Static disable No enable Valid
I am not interested in NAT, just straight up routing, e.g. statically define a route (network) from an interface on the switch (IP addr). That is or is not possible?
It is not possible. The 10.0.0.0 – 10.255.255.255, 172.16.0.0 – 172.31.255.255, and 192.168.0.0 – 192.168.255.255 ranges are reserved for private networks only. The public network will not route them. Further, you can't use public IP's that haven't been assigned to you. You absolutely need NAT.