LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-03-2004, 08:58 AM   #1
mfeoli
Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 92

Rep: Reputation: 15
I need to assign a Public IP to my Firewall How?


Hi,

I recently obtained a Public IP Address.

We are managing Internet access with a firewall (ipchains)

The outside eth (eth0) get's the address via DHCP from the ADSL router.

What do I have to do to assign the IP to the board so that I can setup services like WEBSvr/ftp and others. Or is this not recomended on the same machine?


My current configiguration is

eth0 Link encap:Ethernet HWaddr 00:00:21:44:2A:75
inet addr:10.9.0.18 Bcast:10.9.0.23 Mask:255.255.255.248
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:3818406 errors:0 dropped:0 overruns:0 frame:0
TX packets:3949863 errors:9 dropped:0 overruns:0 carrier:18
collisions:706 txqueuelen:100
Interrupt:11 Base address:0xf780
eth1 Link encap:Ethernet HWaddr 00:E0:7D:77:B2:FB
inet addr:100.50.25.3 Bcast:100.50.25.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4362102 errors:0 dropped:0 overruns:0 frame:0
TX packets:3886650 errors:1 dropped:0 overruns:0 carrier:1
collisions:5705 txqueuelen:100
Interrupt:9 Base address:0xf740
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:558 errors:0 dropped:0 overruns:0 frame:0
TX packets:558 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
 
Old 02-03-2004, 03:39 PM   #2
countcobolt
LQ Newbie
 
Registered: Nov 2002
Location: Belgium
Distribution: Slackware
Posts: 25

Rep: Reputation: 15
I believe you need to be able to dynamically update your assigned name to the ip.
Check if this is available.
grtz
 
Old 02-05-2004, 10:07 AM   #3
mfeoli
Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 92

Original Poster
Rep: Reputation: 15
No Grtz isn't available (not as a linux command anyway)
 
Old 02-05-2004, 07:54 PM   #4
artur
Member
 
Registered: Apr 2002
Location: Illinois, US
Distribution: Red Hat, Fedora, Yellow Dog, Debian, FreeBSD, Embedix
Posts: 106

Rep: Reputation: 15
Quote:
Originally posted by mfeoli
No Grtz isn't available (not as a linux command anyway)
grtz isn't available??? That's odd

How did you obtain your public IP? From your ISP? They should provide you with the info on how to use it or they should configure things for you.

Did you get just one public IP? If so, your ISP has probably configured your ADSL router to use it. You still need nat on router and you need to configure port forwarding on it to send ftp/www/etc. traffic to your firewall. Then the firewall needs to send it to the actual servers.

If you have a range of IPs assigned, you could disable NAT on the router and put the servers with public IPs outside of the firewall.

Either way, your ISP tech support is the place to call.
 
  


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
Howto Assign Multiple Static Public IP Addresses under SBC's PPPoE Static Ip system o trekgraham Linux - Networking 8 04-17-2007 10:51 AM
How can I setup a Linux firewall router for my public class C IP block? abefroman Linux - Networking 9 09-06-2005 02:32 PM
Firewall - filter for public IPs caremaker Linux - Networking 6 01-09-2004 12:17 PM
Linux firewall that supports USB ADSL & multiple public IPs? Smoothieu Linux - Security 1 08-21-2002 06:23 PM
To anyone=(To go public or not to go public that is the question...) hotrodowner Linux - General 10 06-25-2002 09:19 AM

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

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