LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-28-2014, 02:49 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
How to connect ISP directly without router


Hi all,

Ubuntu 12.04 64bit/Debian 7.3 64bit

Network:
FTTH (Fiber To The Home) Optic Fibre Network
Static IP

Cable connection:
ISP -> Ont -> PC

Ont (please see attached photo)

Interface - Internet, without password

Please advise how to configure /etc/network/interface ?

Do I need to procure following info from ISP ?
Code:
(TYPE: GATEWAY)
(TYPE: WAN IP)
(TYPE: BROADCAST)
BB GATEWAY:
Thanks in advance.

Rgds
satimis
Attached Thumbnails
Click image for larger version

Name:	ont_1.png
Views:	64
Size:	56.8 KB
ID:	15079  

Last edited by satimis; 03-28-2014 at 02:59 AM.
 
Old 03-28-2014, 02:52 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
Hi,

did you check the documentation that cam with the "Ont"? Is there any mention of pppoe or dhcp? Have you been given a username and password? Any other information?

Evo2.
 
Old 03-28-2014, 03:02 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by evo2 View Post
Hi,

did you check the documentation that cam with the "Ont"? Is there any mention of pppoe or dhcp? Have you been given a username and password? Any other information?

Evo2.
Thanks for your response.

This is a new service which will start on 3rd March. Having contacted the new ISP confirming;
Interface - Internet without password
Static IP
GATEWAY
WAN IP
BROADCAST
BB GATEWAY
addresses already provided

I don't have the document of ONT yet

Rgds
satimis
 
Old 03-28-2014, 03:24 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
Hi,

ok with that information it's pretty straight forward. In your /etc/network/interfaces file put:
Code:
auto eth0
iface eth0 inet static
  address "Static IP"
  netmask  255.255.255.0
  gateway "GATEWAY"
  broadcast "BB BROADCAST"
Replaceing "XXXXXXXX" with the numbers you were prvided with. The netmask is assuming IPV4, if you have IPV6 the use 64 for the netmask.

I think adding the gateway and broadcast are optional. More information at https://wiki.debian.org/NetworkConfiguration

Presumably this can also be done with network manager (or whatever gui you may be using).

Cheers,

Evo2.

PS. There should already be an "lo" section in that file: leave it untouched.
 
Old 03-28-2014, 04:04 AM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by evo2 View Post
Hi,

ok with that information it's pretty straight forward. In your /etc/network/interfaces file put:
Code:
auto eth0
iface eth0 inet static
  address "Static IP"
  netmask  255.255.255.0
  gateway "GATEWAY"
  broadcast "BB BROADCAST"
Replaceing "XXXXXXXX" with the numbers you were prvided with. The netmask is assuming IPV4, if you have IPV6 the use 64 for the netmask.

I think adding the gateway and broadcast are optional. More information at https://wiki.debian.org/NetworkConfiguration

Presumably this can also be done with network manager (or whatever gui you may be using).

PS. There should already be an "lo" section in that file: leave it untouched.
Hi,

Thanks for your advice and links

New ISP has provided following 4 IP addresses;
STATIC IP
GATEWAY IP
WAN IP
BROADCAST IP
BB GATEWAY IP
SUBNET: 255.255.255.252


Whether on /etc/network/interface
Code:
    # The loopback network interface
    auto lo
    iface lo inet loopback

    # The primary network interface
    iface eth0 inet static
         address Static IP
         netmask 255.255.255.252
         broadcast BROADCAST IP
         gateway BB GATEWAY  IP
?

BB GATEWAY IP is same as GATEWAY IP. What will be the use of WAN IP?

Rgds
satimis
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can't connect directly off modem. 1349 Slackware 10 06-15-2010 06:35 PM
How to directly connect 2 computers - No router, no DHCP? GuyWhoKilledBear Linux - Networking 2 08-07-2009 12:41 PM
Connect to ISP network through new wireless router Dlink WBR 1310 talkjay83 Linux - Wireless Networking 2 09-15-2008 02:02 PM
is it possible for 2 computers behind a router to talk directly or do i need vpn solusrex Linux - Networking 35 08-19-2006 04:44 AM
Directly connecting RH9 box to ISP (cable), then off to a router to rest of lan? shirtboy Linux - Networking 7 11-18-2003 10:27 PM

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

All times are GMT -5. The time now is 05:21 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