I have two public IP, they have not given me any subnetmask and gateway for those two. But in seperate they have given me one subnet mask/gateway as below:
- 217.91.227.x
217.91.170.x
To be use subnet: 255.255.255.255, gateway: 217.5.98.x
But how can i use those two ip with this subnet and gateway? I tried to add them in my router, but it says invalid input:
217.91.227.x with subnetmask 255.255.255.255 and gateway: 217.5.98.x is not valid entry
217.91.170.x with subnetmask 255.255.255.255 and gateway: 217.5.98.x is not valid entry
Then how do i setup my two linux box with those ip having subnetmask and gateway? Can anyone show some example or how it can be done?
(i am using Ubuntu, CentOS, Fedora and residential Cisco routers)
EDIT:
[Default Gateway: 217.5.98.x]
^
|
[ A - Location ]<-----------> [ B - Location ]
^ ^
| |
[ Router 1 ] [ Router 2 ]
^217.91.227.x ^217.91.170.x
| |
[ PC 1 ] [ PC 1 ]
[ PC 2 ] [ PC 2 ]
[ PC 3 ]
Description:
- Router 1 and Router 2 should have public IP, which i need to configure
- Router 1 and Router 2 what subnet mask and what default gateway i have to use? when i am given with information to use 255.255.255.255 as mask and 217.5.98.x ?