DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 7th May 2010
Freeco Freeco is offline
New User
 
Join Date: May 2010
Posts: 7
Thanked 0 Times in 0 Posts
Default Network Card Configuration

I have a static IP. I want to confingure my FreeBSD gateway network cards, but i don't understand what i have to write in host and domain patch.
Reply With Quote
  #2   (View Single Post)  
Old 7th May 2010
Freeco Freeco is offline
New User
 
Join Date: May 2010
Posts: 7
Thanked 0 Times in 0 Posts
Default

In host and domain window.
Reply With Quote
  #3   (View Single Post)  
Old 7th May 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,064
Thanked 198 Times in 156 Posts
Default

I'm not sure what you mean with "host and domain patch" or "host and domain window". Are you using FreeBSD or are you using pfSense as was mentioned in another thread.

If you want to add a default route ("gateway"), then you can do so with the route(8) command, for example: # route add default 192.168.1.1.

If this is not the answer you're looking for, then please give us more information, such as:
  • What system you are running.
  • What exactly are you trying trying to do? And what doesn't work?
  • Your network topology.
  • What you already tried, and error messages if that failed (if any).
  • Anything else of use you can think of.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #4   (View Single Post)  
Old 8th May 2010
Freeco Freeco is offline
New User
 
Join Date: May 2010
Posts: 7
Thanked 0 Times in 0 Posts
Default

I was installing FreeBSD 8.0 on my pc then there was a window asking me - "Do you want to configure your network cards" i pressed "Yes" and choosed one of them.
There are the both windows.
Reply With Quote
  #5   (View Single Post)  
Old 8th May 2010
Freeco Freeco is offline
New User
 
Join Date: May 2010
Posts: 7
Thanked 0 Times in 0 Posts
Default

I have a book with 600 pages about FreeBSD 5 in russian. It's hard to read it because there are a some of words that i don't understand. My russian is ok. I'm from Latvia. I better understand english when i read it, but my gramatics is poor in english. How do u think, is it so necessary to read this book or to learn from other manuals, advices and so on...
Reply With Quote
  #6   (View Single Post)  
Old 8th May 2010
Freeco Freeco is offline
New User
 
Join Date: May 2010
Posts: 7
Thanked 0 Times in 0 Posts
Default

IP provider gateway 89.248.88.17
|
|
My Lan wih 3 pc's
89.248.88.18 - 89.248.88.20 (255.255.255.240)

I want to make a FreeBSD router including FireWall and PF to look like this.
-------------------------------------------------------------------------
IP provider gateway 89.248.88.17
|
|
My gateway including FireWall and PF
89.248.88.18 (255.255.255.240)
|
|
My Lan 89.248.88.19, 89.248.88.20 NetMask same?
Reply With Quote
  #7   (View Single Post)  
Old 8th May 2010
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,135
Thanked 182 Times in 149 Posts
Default

You assign all three public IP's to the external interface. During install you only assign 89.248.88.18 with the 244 netmask your ISP has given you. After the install has finished you can assign the other two addresses as aliases to the same interface. (aliases need a /255 netmask) Don't worry about these aliases until you installed everything

For your local net you have to use another network, here I suggest the 10.0.0.0/24 network, one of the nets reserved for private networks.

Because the firewall/packet filter will do NAT (network address translation) your hosts in the 10.0.0.0/24 network will be able to connect and communicate with hosts on the internet.
Code:
      I N T E R N E T
             |
             |
             |
             |
       ------------
       89.248.88.17
       ------|-----
             |
             |
             |
             |
-------------|---------------
       89.248.88.18/240
       89.248.88.19/255
       89.248.88.20/255
     external interface

     FREEBSD   FIREWALL

     internal interface
         10.0.0.1/24
-------------|---------------
             |
             |
             |
             |
            LAN
For the FreeBSD firewall, the default gateway is 89.248.88.17. The hosts in the private network 10.0.0.0/24 have to use the internal interface 10.0.0.1 as default gateway.

RE: hostname

The reverse IP lookup of your first IP address fails:
Code:
$ host  89.248.88.18   
Host 18.88.248.89.in-addr.arpa. not found: 3(NXDOMAIN)
So you can use a name of your choice, which does not clash with the official names.

A domain name conists of two names separated with a dot. (yyyyyy.zzzz) As long as the 'zzzz' part, the TLD (Top Level Domain) is different from any official TLD, you are free to choose any name for the 'yyyyy' part.
I use utp.xnet, and names of Greek figures as hostnames.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Network configuration issue (gateway(s)) amorphousone OpenBSD General 3 25th November 2009 04:53 AM
k3b, configuration. maxrussell FreeBSD Ports and Packages 4 3rd March 2009 04:23 AM
Double network card Dilemma disappearedng FreeBSD General 6 1st September 2008 06:31 AM
Realtek Gigabit 8169SC Network card not workies!! ashleyd FreeBSD General 5 11th August 2008 12:50 PM


All times are GMT. The time now is 09:53 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick