LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-12-2011, 05:01 AM   #1
mrshaheer2000
LQ Newbie
 
Registered: May 2011
Posts: 1

Rep: Reputation: 0
2 Internet Connection for 1 Website


Dear all

I have ubuntu 10.10 server with a web site
I am mess up in NIC configuration.

I have only one web site on my server.

I Have 2 Internet connection with static IP.

I have 2 Network Card as follow
eth0 119.155.152.140 (1st internet with static IP without firewall)
eth1 203.135.30.240 (2nd internet with static IP without firewall)


when i restart my networking it give me following error

Code:
shah@server:~$ sudo /etc/init.d/networking restart
[sudo] password for shah:
* Reconfiguring network interfaces...
RTNETLINK answers: No such process
[ OK ]
shah@server:~$

Here is my network interfaces configuration

Code:
shah@server:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 119.155.152.140
netmask 255.255.255.0
gateway 119.155.152.1


auto eth1
iface eth1 inet static
address 203.135.30.240
netmask 255.255.255.0
gateway 203.135.30.1
shah@server:~$
Is my network interfaces configuration is correct?

I registered my these IP to Domain Registrar but still my web site not online.

Please advice me what should i do?

NOTE: I dont have DNS or DHCP server installed.


Regards

Shaheer]
__________________
I love to See people Smile.
 
Old 05-12-2011, 09:52 PM   #2
plpl303a
Member
 
Registered: May 2011
Posts: 52

Rep: Reputation: 3
After you have done the networking restart, what is the configuration of the network cards?

In other words, what do /sbin/ifconfig and /sbin/route tell you?
 
Old 05-13-2011, 02:57 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
Wonder if it is a port 80 deal?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How i can see the ips with many connection on my website DjZoC Linux - Security 1 11-01-2010 06:32 AM
Need help in running my website using secure connection (HTTPS) newbinlinux Linux - Newbie 14 02-25-2010 12:51 AM
Erratic connection with website sheine Linux - Networking 10 10-06-2009 12:19 PM
KPPP website connection problem srideep_333 Linux - Security 1 12-22-2004 06:00 PM
Why do I get connection refused when I try to go to my website? Joey.Dale Linux - General 4 01-22-2004 02:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration