Find the answer to your Linux question:
Results 1 to 5 of 5
I have a mobile broadband which I use to surf the Internet from home. I have 2 questions : 1) How would I setup the network for RHEL/CentOS SERVER, using ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Dec 2009
    Posts
    105

    Setting up a home network


    I have a mobile broadband which I use to surf the Internet from home.

    I have 2 questions :

    1) How would I setup the network for RHEL/CentOS SERVER, using mobile broadband??
    Like when I need to install something from the repository via the network, how would it recognize the broadband as the network source??

    2) If I want to use the broadband to access the office domain, which is persistent.co.in, how do I do it? (What and how do I have to configure the broadband to recognize persistent.co.in??)

    Sometimes, when I work from home, I need to access the office network, and this is why it is important.

    Thanks,
    ana

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,672
    1) Setup your routing to use the Broadband as your GW.

    2) Talk with your IT department and let them know what you want to do. They should be able to help you with what you need to do to be able to connect to the office network from home.

    Be aware that any Network Security person will have restriction on how and what you can use to connect to the office network.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Linux Newbie
    Join Date
    Dec 2009
    Posts
    105
    Quote Originally Posted by Lazydog View Post
    1) Setup your routing to use the Broadband as your GW.
    Can you please guide me on how this can be done?

  4. #4
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,672
    What does your network look like and what are you using for a router?

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  5. #5
    Just Joined!
    Join Date
    Mar 2013
    Posts
    2
    you will have to setup ipforwarding and nat
    assuming that your internet connection is on eth0 and eth1 is local lan
    as root type
    iptables -t nat POSTROUTING -o eth0 -j MASQUERADE
    service iptables save
    service iptable restart

    and to enable ip forwarding
    echo "1" > /proc/sys/net/ipv4/ip_forward
    service network restart
    now setup your all other computers default gateway to ip address of routers eth1
    that's all

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •