
Originally Posted by
ashokroman
A week back my company purchased 1 mbps leased line from the airtel ISP who gave mrotek SHDSL modem and the engineer who have installed the wiring etc has given us two sets of ip addr which he configured in winxp and the first set of ipaddr should be entered as the details follows
First set of ipaddr:
IP : 125.22.255.122
mask : 255.255.255.252
Gateway : 125.22.255.121
Dns server addr:
preferred dns server : 203.145.184.32
alternate dns server : 203.145.184.13
and the winxp must be restarted after and he says that the first set of ipaddr is for logical connection that is this first set of ipaddr should be established with the ISP and after that in the same place after restarting we have to enter the second set of ipaddr as follows in the same ethernet device
ipaddr: 122.165.253.233
mask : 255.255.255.248
gw : 125.22.255.121
dns server address (same)
preferred dns : 203.145.184.32
alternate dns : 203.145.184.13
Again after restarting the winxp and after booting it starts up browsing
But what my actual question is i want to connect to linux machine but can't able to do i did the same procedure what I should did for winxp but i failed in more attempts . In linux first of all when i started configuring the first set of ipaddr the gateway pings and after restarting and enterting the second set of ipaddr the gateway can't pings up and note in both set of this ipaddr the gateway or same and what i have to do to get it connected
I honestly dont understand your setup. And I dont even see why you'd force an ip on the nic then reboot and force another for the connection to work. Nevertheless on a fedora box the equivalent of what you just described could be this.
Edit your /etc/resolv.conf to include the two name servers
Code:
nameserver 203.145.184.32
nameserver 203.145.184.13
then
Code:
ifconfig eth0 125.22.255.122 netmask 255.255.255.252 up
route add default gw 125.22.255.121
then
Code:
ifconfig eth0 122.165.253.233 netmask 255.255.255.248 up
route add default gw 125.22.255.121
Having written all that I still don't understand how it works. I'd really appreciate if you could get back to us here and tell us if and when it works and how