10-25-2010
On the DOS machine I'm using Trumpet Winsock on Win3.11. I tried to set 192.168.0.1 as gateway, but now it doesn't connect at all. It cannot reach Internet, the router at 192.168.0.1nor the ubuntu box at 192.168.0.2.
In fact I can set up the SLIP connection only if I set the ubuntu box as gateway.
I tried to enable ip forwarding in the ubuntu box but the Dos pc still doesn't reach the internet...
Help!
9 More Discussions You Might Find Interesting
1. Programming
Howto check if a ethernet interface is up?
It's impossible to determine via the ipaddress i have learned, or?
Can someone please give me a hint on howto do?
Environment == Linux x86 GNU GCC.
:D
regards
Esaia (2 Replies)
Discussion started by: Esaia
2 Replies
2. Solaris
Hi,
During the installation of solaris suppose I am configuring one ethernet interface that is primary but on my server there are 4 ethernet interfaces,because all other interface not configured,
what is way to find out how many ethernet interfaces are there on Server, (6 Replies)
Discussion started by: manoj.solaris
6 Replies
3. Solaris
Dear all,
I am a newbie in solaris and I need your advice.
I have a Solaris version 5.9 installed on Sunfire V240.
I am able to ssh the machine from putty remotely.
My problem is that I cannot see the display from KVM switch I have connected to it. I need also to be able to see the GUI... (2 Replies)
Discussion started by: mbouster
2 Replies
4. SCO
Hi all
I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface?
If you have any ideas, please tell me then. Thank you (2 Replies)
Discussion started by: TinhNhi
2 Replies
5. UNIX for Advanced & Expert Users
Hi,
For one of my application(Linux 2.6) I am using a netlink socket to get the interface changes notification.
socket(PF_NETLINK, SOCK_RAW, NETLINK_ROUTE)
Application receives netlink notification for Ethernet, bond interfaces but there is no notification about bridge interfaces changes. ... (6 Replies)
Discussion started by: learn more
6 Replies
6. AIX
Hi,
is there any method to check the interface collisions on ethernet NIC in AIX. I know that in Solaris it's netstat -i but I've written that in AIX it doesn't show this.
Thanks®ards,
p (1 Reply)
Discussion started by: pitmod
1 Replies
7. Hardware
Hi
Had an old ML590 with RS232 serial card that stopped working (spindle that advance ribbon broke) so I purchased a working used on ebay.
Printer powers up and seems fine. Put serial board from old printer in working ebay unit but no printing happens.
Does anyone know if there are any... (0 Replies)
Discussion started by: magnetman
0 Replies
8. Linux
hello,
I have a Linux server with two interfaces eth0 and eth1. I configured two IP addresses from two different networks on 2 interfaces, and I connected both interfaces on two different switches.
the IP address of eth0 is responding without problem to ping from equipment of its home network,... (25 Replies)
Discussion started by: cerco
25 Replies
9. Solaris
Hi Folks,
Here is one for the real Solaris aficionados on the site;
I have a T5240 and have to create an I/O domain with access to the serial port, in this case /dev/term/a and although I have been through the documentation I'm having some issues in identifying the device to assign.
What I... (2 Replies)
Discussion started by: gull04
2 Replies
LEARN ABOUT DEBIAN
ifscheme-mapping
IFSCHEME(8) Commands IFSCHEME(8)
NAME
ifscheme - scheme control for network interfaces
SYNOPSIS
ifscheme [-v] [[-s] newscheme]
mapping <interface> script ifscheme-mapping
DESCRIPTION
ifscheme allows you to change network configuraton schemes or query the current scheme. It integrates with the ifup(8) command and inter-
faces(5). For example, you might use this program to configure a "home" scheme and a "work" scheme for a network device on a laptop. When
you move between home and work, a simple command can reconfigure your networking.
If you run the program with no parameters, it will tell what the current network scheme is.
The ifscheme-mapping utility is used to tell the ifup and ifdown utilities about the current scheme.
OPTIONS
-v
--verbose
Run in verbose mode. This is passed in to the ifup and ifdown programs as well.
-l
--list list all schemes available/defined in /etc/network/interfaces.
newscheme
-s newscheme
--scheme newscheme
Change to a new network configuration scheme. When the scheme is changed, network interfaces that were using the old scheme will be
taken down and brought back up to use the new configuration scheme. -s or --scheme are mandatory if newscheme begins with a -.
CONFIGURATION
To make the program do anything useful when a scheme is selected, you must edit /etc/network/interfaces to add a mapping for the interface
(or interfaces) that can be controlled on a per-scheme basis. Suppose you want to control eth0 in this way. You might have an existing eth0
configuraton in there, such as:
auto eth0
iface eth0 inet static
address 192.168.1.5
netmask 255.255.255.0
gateway 192.168.1.1
To change this so you can chose between static routing and dhcp, replace it with the following (it helps to ifdown the interface first).
auto eth0
mapping eth0
script ifscheme-mapping
iface eth0-home inet static
address 192.168.1.5
netmask 255.255.255.0
gateway 192.168.1.1
iface eth0-work inet dhcp
Now if you run "ifscheme home" and ifup the interface, you'll get the eth0-home configuration stanza. If you run "ifscheme work", it will
be changed to the eth0-work stanza. You can add additional stanzas as desired, but the label must always be of the form <hardware inter-
face>-<scheme name>.
If you have a second interface (perhaps a wireless network card on eth1), you can duplicate the above for that interface, changing the eth0
and the configuration details as appropriate, but remember to add an iface stanza for every scheme name for the second interface.
FILES
/etc/network/interfaces
the interfaces definition file
/etc/network/run/scheme
the current scheme
/etc/network/run/ifstate
a record of the current state of the interfaces, managed by ifup and ifdown
BUGS
All schemed interfaces will have the same scheme.
Any schemed interface which does not have an entry for the current scheme and is not configured when the scheme is changed will not be suc-
cessfully configured when it is brought up.
SEE ALSO
interfaces(5) ifup(8) ifdown(8)
DISTRIBUTION
Redistribution is subject to the GNU public license.
AUTHORS
Joey Hess <joey@kitenet.net>, Peter Wilson <pwilson@cs.hmc.edu>
IFSCHEME(8)