LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Many static ip on Red hat linux (https://www.linuxquestions.org/questions/linux-networking-3/many-static-ip-on-red-hat-linux-704090/)

satish 02-12-2009 02:14 AM

Many static ip on Red hat linux
 
we had taken the lease line for our internet and having the static ip issue for our organisation, here i am giving the diagram and all the network details to you

Internet Cloud
|
V35 modem
|
Cisco 1721 Router
|
| |
s0 fast ethernet 0
10.115.112.58 203.115.119.185
|
Linux Pc
| |
eth1 eth0
192.168.1.1 203.115.119.186
|
|
Switch
|
Workstation


as you can see my connection comes from v35 modem then cisco 1721 router with the static ip 203.115.119.185 then i put this cisco connection in the linux server with 2 lan card, i put one static ip on eth0 203.115.119.186 and to share the internet i added one lan card in machine eth1 with 192.168.1.1.

my connection working fine i can browse very well, but i have one requirement that i want to give on static ip 203.115.119.187 to one of our workstatation in our office, i added in one of our pc then i added one static ip in the workstation 203.115.119.187.

Now the pc is having 2 ip's one is 192.168.1.28 and the default gw is 192.168.1.1 and the static ip 203.115.119.187. i try from the linux server to ping the static ip but it is now working?

Please give me any suggestions to configure the static ip in the workstation

hence i don't want to connect the router 203.115.119.185 connection in the switch because if i do that i have to give the static ip in each pc and the gateway of router's ip.

The main problem is in our office we have Stock exchange network router and the gateway is 10.32.138.1. if i remove this gateway i cannot trade in the stock exchange and i require the internet and trading at the same time so i created the squid proxy server.

please help on the static ip

Regards

Satish

jschiwal 02-12-2009 02:58 AM

I can't tell from your diagram what is connecting the NICs with the 203.115.119. network.
Also, you have 3 networks mentioned. 192.168.1.0, 203.115.119.0 and 10.32.138.0. The 10.32.138.0 network suddenly popped into the equation. Non of the interfaces mentioned is on this network. If the internet connection is through the Cisco router, the 203.115.119.186 NIC (eth1) on the Linux server is on the same network as the router. The 203.115.119.187 interface on the workstation is on the same network as the router. What does it plug into? The switch or the router? Does the 203.115.119.185 router nic plug into the Linux server's eth1?

note: capitalizing the personal pronoun "I" would make the message itself less distracting making it easier to concentrate on the problem.


All times are GMT -5. The time now is 05:01 PM.